I was using a wrong input conection for the information. The other one is the right one.
I m trying to send information to a cost block in modelica, but it shows me block´s parameters instead of variables.
what I'm doing wrong?
Find attached the screen capture