Opened 7 years ago

Closed 4 years ago

#4466 closed defect (fixed)

Co-Sim FMIs "maxOutputDerivativeOrder" set to wrong value

Reported by: bthiele Owned by: lochel
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 bthiele 7 years ago.
unicycle.mo (1.5 KB) - added by bthiele 7 years ago.
trial.mo (863 bytes) - added by bthiele 7 years ago.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by bthiele

Changed 7 years ago by bthiele

Changed 7 years ago by bthiele

comment:1 Changed 4 years ago by lochel

  • Milestone changed from Future to 1.16.0
  • Resolution set to fixed
  • Status changed from new to closed

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.