Opened 6 years ago

Closed 6 years ago

#5381 closed defect (fixed)

Do not report negative simulation time

Reported by: federico.terraneo@… 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)

Thermal1Dalgorithmic.mo (1.2 KB ) - added by federico.terraneo@… 6 years ago.

Download all attachments as: .zip

Change History (4)

by federico.terraneo@…, 6 years ago

Attachment: Thermal1Dalgorithmic.mo added

comment:2 by Martin Sjölund, 6 years ago

Owner: changed from Lennart Ochel to Martin Sjölund
Status: newassigned

comment:3 by Martin Sjölund, 6 years ago

Resolution: fixed
Status: assignedclosed
Summary: Negative simulation timeDo not report negative simulation time
Note: See TracTickets for help on using tickets.