Opened 8 years ago
Last modified 8 years ago
#4122 assigned defect
Simulation fails in OpenModelica, Works in JModelica
Reported by: | dma@… | Owned by: | wbraun |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Backend | Version: | v1.11.0 |
Keywords: | Cc: | lochel, wbraun |
Description
The attached file produces incorrect (null) results when simulated with OpenModelica but produces a correct result in JModelica. I'm using the OpenModelica-v1.11.0-dev-201-gf2641d7-64bit.exe nightly build (it failed on earlier releases as well).
I have attached the Modelica source file, the errors generated during simulation, and a graph of the result produced by JModelica.
Attachments (3)
Change History (5)
Changed 8 years ago by anonymous
Changed 8 years ago by anonymous
Changed 8 years ago by anonymous
comment:1 Changed 8 years ago by sjoelund.se
- Cc lochel wbraun added
- Component changed from *unknown* to Backend
- Owner changed from somebody to lochel
comment:2 Changed 8 years ago by wbraun
- Owner changed from lochel to wbraun
- Status changed from new to assigned
Improved the situation with the dynamic state selection in 6a8d607/OMCompiler. Now the model fails for some reasons by numerical exploding.
The results using -ls=umfpack says everything is OK, but der(v2[2]) is =-1.67 and v2[2] is always =0.
Using uode for index reduction yields:
Using DSS:
Using dummy derivatives: