Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="firstOrderAnalyticSolution.y|firstOrderNegativeGain.G.k|firstOrderNegativeGain.G.u|firstOrderNegativeGain.G.y|firstOrderNegativeGain.Gk.k|firstOrderNegativeGain.Gk.u|firstOrderNegativeGain.Gk.y|firstOrderNegativeGain.I.initType|firstOrderNegativeGain.I.k|firstOrderNegativeGain.I.u|firstOrderNegativeGain.I.y|firstOrderNegativeGain.I.y_start|firstOrderNegativeGain.T|firstOrderNegativeGain.feedback.y|firstOrderNegativeGain.initType|firstOrderNegativeGain.k|firstOrderNegativeGain.lim.homotopyType|firstOrderNegativeGain.lim.limitsAtInit|firstOrderNegativeGain.lim.strict|firstOrderNegativeGain.lim.u|firstOrderNegativeGain.lim.uMax|firstOrderNegativeGain.lim.uMin|firstOrderNegativeGain.lim.y|firstOrderNegativeGain.strict|firstOrderNegativeGain.u|firstOrderNegativeGain.y|firstOrderNegativeGain.yMax|firstOrderNegativeGain.yMin|firstOrderNegativeGain.yStart|firstOrderPositiveGain.G.k|firstOrderPositiveGain.G.u|firstOrderPositiveGain.G.y|firstOrderPositiveGain.Gk.k|firstOrderPositiveGain.Gk.u|firstOrderPositiveGain.Gk.y|firstOrderPositiveGain.I.initType|firstOrderPositiveGain.I.k|firstOrderPositiveGain.I.u|firstOrderPositiveGain.I.y|firstOrderPositiveGain.I.y_start|firstOrderPositiveGain.T|firstOrderPositiveGain.feedback.y|firstOrderPositiveGain.initType|firstOrderPositiveGain.k|firstOrderPositiveGain.lim.homotopyType|firstOrderPositiveGain.lim.limitsAtInit|firstOrderPositiveGain.lim.strict|firstOrderPositiveGain.lim.u|firstOrderPositiveGain.lim.uMax|firstOrderPositiveGain.lim.uMin|firstOrderPositiveGain.lim.y|firstOrderPositiveGain.strict|firstOrderPositiveGain.u|firstOrderPositiveGain.y|firstOrderPositiveGain.yMax|firstOrderPositiveGain.yMin|firstOrderPositiveGain.yStart|inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.1,1.|inputSignal.table.1,2.|inputSignal.table.2,1.|inputSignal.table.2,2.|inputSignal.table.3,1.|inputSignal.table.3,2.|inputSignal.table.4,1.|inputSignal.table.4,2.|inputSignal.table.5,1.|inputSignal.table.5,2.|inputSignal.table.6,1.|inputSignal.table.6,2.|inputSignal.timeScale|inputSignal.y|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="firstOrderAnalyticSolution.y|firstOrderNegativeGain.G.k|firstOrderNegativeGain.G.u|firstOrderNegativeGain.G.y|firstOrderNegativeGain.Gk.k|firstOrderNegativeGain.Gk.u|firstOrderNegativeGain.Gk.y|firstOrderNegativeGain.I.initType|firstOrderNegativeGain.I.k|firstOrderNegativeGain.I.u|firstOrderNegativeGain.I.y|firstOrderNegativeGain.I.y_start|firstOrderNegativeGain.T|firstOrderNegativeGain.feedback.y|firstOrderNegativeGain.initType|firstOrderNegativeGain.k|firstOrderNegativeGain.lim.homotopyType|firstOrderNegativeGain.lim.limitsAtInit|firstOrderNegativeGain.lim.strict|firstOrderNegativeGain.lim.u|firstOrderNegativeGain.lim.uMax|firstOrderNegativeGain.lim.uMin|firstOrderNegativeGain.lim.y|firstOrderNegativeGain.strict|firstOrderNegativeGain.u|firstOrderNegativeGain.y|firstOrderNegativeGain.yMax|firstOrderNegativeGain.yMin|firstOrderNegativeGain.yStart|firstOrderPositiveGain.G.k|firstOrderPositiveGain.G.u|firstOrderPositiveGain.G.y|firstOrderPositiveGain.Gk.k|firstOrderPositiveGain.Gk.u|firstOrderPositiveGain.Gk.y|firstOrderPositiveGain.I.initType|firstOrderPositiveGain.I.k|firstOrderPositiveGain.I.u|firstOrderPositiveGain.I.y|firstOrderPositiveGain.I.y_start|firstOrderPositiveGain.T|firstOrderPositiveGain.feedback.y|firstOrderPositiveGain.initType|firstOrderPositiveGain.k|firstOrderPositiveGain.lim.homotopyType|firstOrderPositiveGain.lim.limitsAtInit|firstOrderPositiveGain.lim.strict|firstOrderPositiveGain.lim.u|firstOrderPositiveGain.lim.uMax|firstOrderPositiveGain.lim.uMin|firstOrderPositiveGain.lim.y|firstOrderPositiveGain.strict|firstOrderPositiveGain.u|firstOrderPositiveGain.y|firstOrderPositiveGain.yMax|firstOrderPositiveGain.yMin|firstOrderPositiveGain.yStart|inputSignal.offset|inputSignal.shiftTime|inputSignal.startTime|inputSignal.table.1,1.|inputSignal.table.1,2.|inputSignal.table.2,1.|inputSignal.table.2,2.|inputSignal.table.3,1.|inputSignal.table.3,2.|inputSignal.table.4,1.|inputSignal.table.4,2.|inputSignal.table.5,1.|inputSignal.table.5,2.|inputSignal.table.6,1.|inputSignal.table.6,2.|inputSignal.timeScale|inputSignal.y|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 109 kB / 16.42 MB, free: 6.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 183.2 kB / 17.35 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07381/0.07381, allocations: 16.78 MB / 308 MB, free: 14.41 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.317e-05, allocations: 2.281 kB / 429.3 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.002265/0.002297, allocations: 2.024 MB / 431.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.003392, allocations: 0.8337 MB / 432.2 MB, free: 5.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.003514, allocations: 7.938 kB / 432.2 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001753/0.003696, allocations: 55.62 kB / 432.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000173/0.003876, allocations: 75.55 kB / 432.3 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004619/0.004358, allocations: 242.7 kB / 432.5 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002809/0.004646, allocations: 335.2 kB / 432.9 MB, free: 4.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.004776, allocations: 56.92 kB / 432.9 MB, free: 4.875 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.004883, allocations: 131.5 kB / 433 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.00503, allocations: 131.4 kB / 433.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.005071, allocations: 24 kB / 433.2 MB, free: 4.594 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.005191, allocations: 103.9 kB / 433.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001786/0.005377, allocations: 419.3 kB / 433.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 6.527e-05/0.005449, allocations: 248.3 kB / 434 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.005498, allocations: 43.75 kB / 434 MB, free: 3.789 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.651e-05/0.00554, allocations: 15.88 kB / 434 MB, free: 3.773 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 (38) * Number of variables: 42 (42) Notification: Performance of Bindings: time 0.0006322/0.006177, allocations: 0.9247 MB / 434.9 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.036e-05/0.006265, allocations: 47.95 kB / 435 MB, free: 2.695 MB / 302.1 MB Notification: Performance of Early Inline: time 0.00029/0.006561, allocations: 407.5 kB / 435.4 MB, free: 2.27 MB / 302.1 MB Notification: Performance of simplify1: time 7.231e-05/0.00664, allocations: 99.73 kB / 435.5 MB, free: 2.145 MB / 302.1 MB Notification: Performance of Alias: time 0.0006748/0.007321, allocations: 0.6949 MB / 436.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of simplify2: time 5.311e-05/0.007386, allocations: 72.58 kB / 436.2 MB, free: 1.203 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001486/0.00754, allocations: 130.6 kB / 436.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of Events: time 0.0002145/0.007762, allocations: 220 kB / 436.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001547/0.007925, allocations: 198.1 kB / 436.8 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006463/0.008579, allocations: 0.6677 MB / 437.4 MB, free: 15.89 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003991/0.008989, allocations: 434.3 kB / 437.9 MB, free: 15.44 MB / 318.1 MB Notification: Performance of Inline: time 0.000686/0.009683, allocations: 0.6746 MB / 438.5 MB, free: 14.72 MB / 318.1 MB Notification: Performance of Partitioning: time 3.71e-05/0.009732, allocations: 26.36 kB / 438.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001595/0.009898, allocations: 212.9 kB / 438.8 MB, free: 14.48 MB / 318.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) inputSignal.nextEventScaled = $START.inputSignal.nextEventScaled ($RES_SRT_70); Notification: Performance of Causalize: time 0.003511/0.01342, allocations: 2.821 MB / 441.6 MB, free: 11.58 MB / 318.1 MB Notification: Performance of Tearing: time 0.0008383/0.01427, allocations: 0.7862 MB / 442.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of Initialization: time 7.11e-07/0.01428, allocations: 0 / 442.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of Tearing: time 8.856e-06/0.01429, allocations: 7.938 kB / 442.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of Categorize: time 1.241e-05/0.01431, allocations: 0 / 442.4 MB, free: 10.7 MB / 318.1 MB Notification: Performance of Solve: time 0.0002721/0.01459, allocations: 174 kB / 442.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002487/0.01485, allocations: 307.4 kB / 442.9 MB, free: 10.19 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 5 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {firstOrderPositiveGain.lim.simplifiedExpr, firstOrderNegativeGain.lim.simplifiedExpr} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 28 (28) {inputSignal.a, inputSignal.b, inputSignal.last, inputSignal.nextEvent, inputSignal.nextEventScaled, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_1, $SEV_0, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 40 (scalar:40, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 32 (scalar:32, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 54 (scalar:54, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.000111/0.01496, allocations: 52.56 kB / 442.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of SimCode: time 0.001623/0.01659, allocations: 1.813 MB / 444.7 MB, free: 8.293 MB / 318.1 MB Notification: Performance of Templates: time 0.00751/0.02412, allocations: 4.107 MB / 448.8 MB, free: 4.188 MB / 318.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1)