Opened 9 years ago

Last modified 5 years ago

#3586 assigned defect

FMI import crashes — at Version 1

Reported by: Niklas Worschech Owned by: Adeel Asghar
Priority: high Milestone: Future
Component: FMI Version:
Keywords: fmi import, initialization Cc: Adrian Pop, Willi Braun, Lennart Ochel

Description (last modified by Niklas Worschech)

When I export a MSL exmample to FMI 2.0 for model exchange with Dymola 2016 FD01 an import the fmu with omc the simulation crashes with this error:
"Modelica_Blocks_Examples_PID_0Controller_me_FMU.mo"
""
true
""
record SimulationResult

resultFile = "",
simulationOptions = "startTime = 0.0, stopTime = 4.0, numberOfIntervals = 500, tolerance = 0.0001, method = 'dassl', fileNamePrefix = 'Modelica_Blocks_Examples_PID_0Controller_me_FMU', options = , outputFormat = 'mat', variableFilter = '.*', cflags = , simflags = ",
messages = "Simulation execution failed for model: Modelica_Blocks_Examples_PID_0Controller_me_FMU

module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiGetContinuousStates: fmiEnterInitializationMode must be called before calling fmiGetContinuousStates
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiGetContinuousStates: fmiEnterInitializationMode must be called before calling fmiGetContinuousStates
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiGetReal: Not allowed before call of fmiEnterInitializationMode
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiGetEventIndicators: fmiExitInitializationMode must be called before calling fmiGetEventIndicators
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2)
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2)
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2)
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2)
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2)
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2)
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2)
module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode
assert | debug | Solving non-linear system 160 failed at time=0.
| | | | For more information please use -lv LOG_NLS.
assert | info | simulation terminated by an assertion at initialization
",

timeFrontend = 0.04856964748633506,
timeBackend = 0.04349024258596179,
timeSimCode = 0.0181141241133943,
timeTemplates = 0.1261298758561969,
timeCompile = 2.619043872252758

end SimulationResult;
"Warning: The initial conditions are not fully specified. Use +d=initialization for more information.
Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information.
"

Change History (1)

comment:1 by Niklas Worschech, 9 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.