Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009989/0.0009989, allocations: 170.5 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008226/0.0008226, allocations: 95.06 kB / 266.6 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05697/0.05697, allocations: 14.01 MB / 328.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.196e-05, allocations: 4 kB / 389.1 MB, free: 66.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06463/0.06467, allocations: 51.11 MB / 440.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/0.3364, allocations: 79.54 MB / 0.5076 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001663/0.3366, allocations: 65.97 kB / 0.5077 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.3531, allocations: 6.638 MB / 0.5141 GB, free: 9.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3531, allocations: 0 / 0.5141 GB, free: 9.25 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.3531, allocations: 7.938 kB / 0.5142 GB, free: 9.242 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006017/0.3537, allocations: 0.5871 MB / 0.5147 GB, free: 8.629 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3538, allocations: 8.031 kB / 0.5147 GB, free: 8.621 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.063e-05/0.3539, allocations: 39.53 kB / 0.5148 GB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.3543, allocations: 332.1 kB / 0.5151 GB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.3543, allocations: 15.62 kB / 0.5151 GB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.3543, allocations: 23.62 kB / 0.5151 GB, free: 8.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.3547, allocations: 265.3 kB / 0.5154 GB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3547, allocations: 0 / 0.5154 GB, free: 8.008 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.632e-05/0.3548, allocations: 7.5 kB / 0.5154 GB, free: 8.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.3548, allocations: 4 kB / 0.5154 GB, free: 8 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002268/0.355, allocations: 154.2 kB / 0.5155 GB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.3561, allocations: 0.9504 MB / 0.5165 GB, free: 7.043 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.3567, allocations: 260.8 kB / 0.5167 GB, free: 6.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.3568, allocations: 117.1 kB / 0.5168 GB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3568, allocations: 7.75 kB / 0.5168 GB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.3571, allocations: 202.6 kB / 0.517 GB, free: 6.535 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.3571, allocations: 0 / 0.517 GB, free: 6.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004534/0.3575, allocations: 318.9 kB / 0.5173 GB, free: 6.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.3576, allocations: 213.6 kB / 0.5175 GB, free: 6.012 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3578, allocations: 249.4 kB / 0.5178 GB, free: 5.801 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3578, allocations: 29.7 kB / 0.5178 GB, free: 5.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.3579, allocations: 178.6 kB / 0.518 GB, free: 5.633 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.358, allocations: 60.92 kB / 0.518 GB, free: 5.582 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.358, allocations: 7.188 kB / 0.518 GB, free: 5.578 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.992e-05/0.358, allocations: 341 kB / 0.5184 GB, free: 5.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.3582, allocations: 78.23 kB / 0.5184 GB, free: 5.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.3583, allocations: 158.1 kB / 0.5186 GB, free: 5.047 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.3585, allocations: 114.7 kB / 0.5187 GB, free: 4.957 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3585, allocations: 0 / 0.5187 GB, free: 4.957 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004044/0.3589, allocations: 332.5 kB / 0.519 GB, free: 4.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.597e-05/0.359, allocations: 398.6 kB / 0.5194 GB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.359, allocations: 0 / 0.5194 GB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.359, allocations: 0 / 0.5194 GB, free: 4.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.3593, allocations: 55.95 kB / 0.5194 GB, free: 4.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3593, allocations: 15.88 kB / 0.5195 GB, free: 4.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.3595, allocations: 51.5 kB / 0.5195 GB, free: 4.152 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.257e-05/0.3596, allocations: 11.31 kB / 0.5195 GB, free: 4.145 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.392e-06/0.3596, allocations: 4 kB / 0.5195 GB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003578/0.3599, allocations: 296.5 kB / 0.5198 GB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.36, allocations: 0 / 0.5198 GB, free: 3.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.216e-06/0.36, allocations: 4 kB / 0.5198 GB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3601, allocations: 31.92 kB / 0.5198 GB, free: 3.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.326e-06/0.3601, allocations: 4 kB / 0.5198 GB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.3603, allocations: 39.06 kB / 0.5199 GB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.3603, allocations: 11.5 kB / 0.5199 GB, free: 3.828 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.67e-05/0.3604, allocations: 149.3 kB / 0.52 GB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.3605, allocations: 35.66 kB / 0.5201 GB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.3605, allocations: 28.47 kB / 0.5201 GB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3605, allocations: 11.91 kB / 0.5201 GB, free: 3.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3606, allocations: 4 kB / 0.5201 GB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.3606, allocations: 0 / 0.5201 GB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.3608, allocations: 353.6 kB / 0.5204 GB, free: 3.281 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3608, allocations: 3.953 kB / 0.5205 GB, free: 3.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.361, allocations: 47.97 kB / 0.5205 GB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.3611, allocations: 4 kB / 0.5205 GB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.314e-05/0.3611, allocations: 7.312 kB / 0.5205 GB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3611, allocations: 0 / 0.5205 GB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3611, allocations: 4 kB / 0.5205 GB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005794/0.3617, allocations: 0.5098 MB / 0.521 GB, free: 2.781 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.3617, allocations: 108.2 kB / 0.5211 GB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.3618, allocations: 7.375 kB / 0.5211 GB, free: 2.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.362, allocations: 36.03 kB / 0.5212 GB, free: 2.621 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.3621, allocations: 15.42 kB / 0.5212 GB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.3621, allocations: 15.73 kB / 0.5212 GB, free: 2.598 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.3623, allocations: 200.7 kB / 0.5214 GB, free: 2.434 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3623, allocations: 0 / 0.5214 GB, free: 2.434 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003897/0.3627, allocations: 121.7 kB / 0.5215 GB, free: 2.324 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (PIController.firstOrder.y,PIControllerNegativeKp.firstOrder.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.3629, allocations: 146.9 kB / 0.5216 GB, free: 2.176 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004639/0.3634, allocations: 478.3 kB / 0.5221 GB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3634, allocations: 0 / 0.5221 GB, free: 1.809 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.3635, allocations: 179.3 kB / 0.5223 GB, free: 1.668 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.3639, allocations: 61.81 kB / 0.5223 GB, free: 1.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006822/0.3645, allocations: 424.2 kB / 0.5227 GB, free: 1.227 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.3647, allocations: 0.7765 MB / 0.5235 GB, free: 436 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002269/0.3649, allocations: 51.05 kB / 0.5235 GB, free: 388 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.365, allocations: 23 kB / 0.5236 GB, free: 368 kB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.365, allocations: 0 / 0.5236 GB, free: 368 kB / 330.7 MB Notification: Performance of Templates: time 0.007578/0.3726, allocations: 4.334 MB / 0.5278 GB, free: 12.06 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1)