Opened 10 years ago
Last modified 9 years ago
#3069 accepted defect
Model needs very long simulation time with Cellier Tearing
Reported by: | Patrick Täuber | Owned by: | Patrick Täuber |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Backend | Version: | trunk |
Keywords: | MSL_3.2.1 | Cc: | Willi Braun, Lennart Ochel |
Description
The MSL32 model Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD takes over 100 minutes for simulation with Cellier Tearing because of way too much steps:
LOG_STATS | info | ### STATISTICS ### | | | | | timer | | | | | | 0.0322984s reading init.xml | | | | | | 0.003696s reading info.xml | | | | | | 0.000564877s pre-initialization | | | | | | 0.000243327s [ 0.0%] initialization | | | | | | 5.6153e-05s [ 0.0%] steps | | | | | | 0.0105037s [ 0.0%] creating output-file | | | | | | 0.00208371s [ 0.0%] event-handling | | | | | | 0.0116676s [ 0.0%] overhead | | | | | | 6586.88s [100.0%] simulation | | | | | | 6586.9s [100.0%] total | | | | | events | | | | | | 2 state events | | | | | | 0 time events | | | | | solver: DASSL | | | | | | 15358920 steps taken | | | | | | 30979010 calls of functionODE | | | | | | 23021038 evaluations of jacobian | | | | | | 217 error test failures | | | | | | 7673606 convergence test failures
With omcTearing:
LOG_STATS | info | ### STATISTICS ### | | | | | timer | | | | | | 0.031817s reading init.xml | | | | | | 0.00360088s reading info.xml | | | | | | 0.000564458s pre-initialization | | | | | | 0.000215112s [ 0.0%] initialization | | | | | | 0.000122851s [ 0.0%] steps | | | | | | 0.00647291s [ 0.7%] creating output-file | | | | | | 0.00109345s [ 0.1%] event-handling | | | | | | 0.00640162s [ 0.7%] overhead | | | | | | 0.849506s [ 98.3%] simulation | | | | | | 0.864376s [100.0%] total | | | | | events | | | | | | 2 state events | | | | | | 0 time events | | | | | solver: DASSL | | | | | | 8942 steps taken | | | | | | 12840 calls of functionODE | | | | | | 595 evaluations of jacobian | | | | | | 176 error test failures | | | | | | 83 convergence test failures
Change History (8)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
I don't think this has to do something with the tearing, because the compilation does not even reach the tearing procedure. The problem must be something before the tearing. And building also takes so long with omcTearing.
comment:3 by , 10 years ago
I let it run for 20-30 minutes on Windows and then had a look at thread stack (using Process Explorer). The stack was stopped inside Tearing_CellierTearing so it does reach it as far as I can tell. I'll open another ticket about this and add more info.
comment:4 by , 10 years ago
Yes, that is true. I just saw it, too. The problem is the size of the system. It contains strong component of size ~6000.
comment:6 by , 9 years ago
No, model Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD seems to be a different problem. Altogether it has under 600 equations.
comment:7 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → accepted |
comment:8 by , 9 years ago
Component: | *unknown* → Backend |
---|---|
Keywords: | MSL_3.2.1 added |
Also, it seems that the model: ThermoSysPro.Examples.CombinedCyclePowerPlant.CombinedCycle_Load_100_50
now doesn't finish compilation anymore with the new tearing:
https://test.openmodelica.org/libraries/ThermoSysPro/BuildModelRecursive.html
Should open a new ticket about it?