Opened 7 years ago

Closed 5 years ago

#4466 closed defect (fixed)

Co-Sim FMIs "maxOutputDerivativeOrder" set to wrong value

Reported by: Bernhard Thiele Owned by: Lennart Ochel
Priority: high Milestone: 1.16.0
Component: FMI Version:
Keywords: Cc:

Description

On the workshop today, I got the feedback that we generate co-simulation FMIs in which the value of field maxOutputDerivativeOrder is set to 1, but retrieving the first derivative of the outputs lead to an error (I suppose when calling the function fmi2GetRealOutputDerivatives).

I didn't reproduce the problem since I don't have any code that would use that feature. I got an OM generated FMU that should should this problem. Find this FMU and related Modelica models attached.

Attachments (3)

unicycle1.fmu (990.9 KB ) - added by Bernhard Thiele 7 years ago.
unicycle.mo (1.5 KB ) - added by Bernhard Thiele 7 years ago.
trial.mo (863 bytes ) - added by Bernhard Thiele 7 years ago.

Download all attachments as: .zip

Change History (4)

by Bernhard Thiele, 7 years ago

Attachment: unicycle1.fmu added

by Bernhard Thiele, 7 years ago

Attachment: unicycle.mo added

by Bernhard Thiele, 7 years ago

Attachment: trial.mo added

comment:1 by Lennart Ochel, 5 years ago

Milestone: Future1.16.0
Resolution: fixed
Status: newclosed

I fixed the maxOutputDerivativeOrder attribute a while back. It is now set to 0, because OpenModelica doesn't support output derivatives yet.

Note: See TracTickets for help on using tickets.