1 | | 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 the attached error |
| 1 | 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: |
| 2 | "Modelica_Blocks_Examples_PID_0Controller_me_FMU.mo" |
| 3 | "" |
| 4 | true |
| 5 | "" |
| 6 | record SimulationResult |
| 7 | resultFile = "", |
| 8 | 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 = ''", |
| 9 | messages = "Simulation execution failed for model: Modelica_Blocks_Examples_PID_0Controller_me_FMU |
| 10 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiGetContinuousStates: fmiEnterInitializationMode must be called before calling fmiGetContinuousStates |
| 11 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiGetContinuousStates: fmiEnterInitializationMode must be called before calling fmiGetContinuousStates |
| 12 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiGetReal: Not allowed before call of fmiEnterInitializationMode |
| 13 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiGetEventIndicators: fmiExitInitializationMode must be called before calling fmiGetEventIndicators |
| 14 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2) |
| 15 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode |
| 16 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2) |
| 17 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode |
| 18 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2) |
| 19 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode |
| 20 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2) |
| 21 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode |
| 22 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2) |
| 23 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode |
| 24 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2) |
| 25 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode |
| 26 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] model cannot be initialized in current state(2) |
| 27 | module = Modelica_Blocks_Examples_PID_0Controller, log level = WARNING: [][FMU status:Warning] fmiExitModelInitializationMode: may only called in initialization mode |
| 28 | assert | debug | Solving non-linear system 160 failed at time=0. |
| 29 | | | | | For more information please use -lv LOG_NLS. |
| 30 | assert | info | simulation terminated by an assertion at initialization |
| 31 | ", |
| 32 | timeFrontend = 0.04856964748633506, |
| 33 | timeBackend = 0.04349024258596179, |
| 34 | timeSimCode = 0.0181141241133943, |
| 35 | timeTemplates = 0.1261298758561969, |
| 36 | timeCompile = 2.619043872252758 |
| 37 | end SimulationResult; |
| 38 | "Warning: The initial conditions are not fully specified. Use +d=initialization for more information. |
| 39 | Warning: There are iteration variables with default zero start attribute. Use +d=initialization for more information. |
| 40 | " |
| 41 | |