Opened 6 years ago
Closed 6 years ago
#5381 closed defect (fixed)
Do not report negative simulation time
Reported by: | Owned by: | Martin Sjölund | |
---|---|---|---|
Priority: | normal | Milestone: | 1.14.0 |
Component: | Run-time | Version: | v1.14.0-dev-nightly |
Keywords: | Cc: | francesco.casella@… |
Description
When simulating the attached model in OMEdit, the statistics report a negative simulation time.
The same does not happen when using omc from the command line.
Example OMEdit output. Simulation time is -0.3%
0.0112766s reading init.xml
0.00150722s reading info.xml
0.00675286s [ 0.8%] pre-initialization
0.000143961s [ 0.0%] initialization
0.00012964s [ 0.0%] steps
0.0996581s [ 11.2%] creating output-file
0.780552s [ 88.0%] event-handling
0.00276749s [ 0.3%] overhead
-0.00277065s [ -0.3%] simulation
0.887233s [100.0%] total
Note that this is a scalable model, the problem occurs with nx of 1000 or higher (as in the attached file).
Attachments (1)
Change History (4)
by , 6 years ago
Attachment: | Thermal1Dalgorithmic.mo added |
---|
comment:1 by , 6 years ago
comment:2 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 6 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Summary: | Negative simulation time → Do not report negative simulation time |
https://github.com/OpenModelica/OMCompiler/pull/2993 should fix this