﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6343	Issue with simulation flags in the testing infrastructure	Francesco Casella	Martin Sjölund	"Please check [https://libraries.openmodelica.org/branches/master/PowerGrids/files/PowerGrids_PowerGrids.Examples.ENTSOE.SteadyState.sim 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."	defect	new	high		Testing Framework	1.16.0			Adrian Pop
