Opened 9 years ago

Closed 9 years ago

Last modified 7 years ago

#3922 closed defect (fixed)

Logging of initialization time is broken

Reported by: Francesco Casella Owned by: Lennart Ochel
Priority: critical Milestone:
Component: Run-time Version:
Keywords: Cc:

Description

Since a few days ago, I am getting this kind of results out of simulations logs:

LOG_STATS         | info    | ### STATISTICS ###
|                 | |       | | timer
|                 | |       | | |     0.121037s          reading init.xml
|                 | |       | | |   0.00554686s          reading info.xml
|                 | |       | | |   0.00598597s          pre-initialization
|                 | |       | | |       136438s [2475022.5%] initialization
|                 | |       | | |   0.00273595s [  0.0%] steps
|                 | |       | | |    0.0125231s [  0.2%] creating output-file
|                 | |       | | |    0.0051622s [  0.1%] event-handling
|                 | |       | | |   0.00267392s [  0.0%] overhead
|                 | |       | | |      -136432s [-2474923.0%] simulation
|                 | |       | | |      5.51258s [100.0%] total

There is clearly something badly wrong with the measurement of the time spent doing initialization. Can you please fix that?

Change History (4)

comment:1 by Lennart Ochel, 9 years ago

Owner: changed from somebody to Lennart Ochel
Status: newaccepted

comment:2 by Lennart Ochel, 9 years ago

Fixed with OMCompiler#870. Unfortunately, we cannot catch those regressions with the test suite.

comment:3 by Lennart Ochel, 9 years ago

Resolution: fixed
Status: acceptedclosed

comment:4 by Martin Sjölund, 7 years ago

Milestone: 1.10.0

Milestone deleted

Note: See TracTickets for help on using tickets.