Opened 4 years ago

Last modified 3 years ago

#6343 new defect

Issue with simulation flags in the testing infrastructure

Reported by: Francesco Casella Owned by: Martin Sjölund
Priority: high Milestone:
Component: Testing Framework Version: 1.16.0
Keywords: Cc: Adrian Pop

Description

Please check PowerGrids.Examples.ENTSOE.SteadyState. The simulation executable reports:

Regular simulation: ./PowerGrids_PowerGrids.Examples.ENTSOE.SteadyState -abortSlowSimulation -alarm=480   -nls=kinsol -lv=LOG_INIT_HOMOTOPY -lv LOG_STATS
stdout            | warning | each command line option can only be used once: -lv

and then does not report the simulation stats. The first -lv flag is generated by the __OpenModelica_simulationFlags annotation, I guess the second is added by the CI scripts.

In this case, the script should recognize that there is already a -lv flag and append LOG_STATS to it.

All the example models in PowerGrids suffer of the same problem.

Change History (2)

comment:1 by Francesco Casella, 4 years ago

Milestone: 1.17.01.18.0

Retargeted to 1.18.0 because of 1.17.0 timed release.

comment:2 by Francesco Casella, 3 years ago

Milestone: 1.18.0

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.