Opened 6 years ago

Last modified 6 years ago

#5218 closed defect

Initialization of FMUs — at Initial Version

Reported by: Lennart Ochel Owned by:
Priority: blocker Milestone: 1.13.1
Component: FMI Version: v1.13.0-dev-nightly
Keywords: Cc: Adrian Pop

Description

The following example can be used to reproduce an initialization issue with FMUs:

loadString("
model A
  output Real y = x;
  parameter Real x_start = 1.0;
protected
  Real x(start=x_start, fixed=true);
equation
  der(x) = time;
end A;"); getErrorString();

buildModelFMU(A, version="2.0", fmuType="me", platforms={"static"}); getErrorString();

State x is always initialized with 1.0, even if x_start is changed using the FMI interface.

Change History (0)

Note: See TracTickets for help on using tickets.