Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.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.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001038/0.001038, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.265/1.265, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008044/0.0008044, allocations: 89.75 kB / 266.6 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05878/0.05878, allocations: 14 MB / 328.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.239e-05/2.242e-05, allocations: 4 kB / 389.1 MB, free: 66.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0672/0.06723, allocations: 51.11 MB / 440.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2689/0.3362, allocations: 79.72 MB / 0.5078 GB, free: 11.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001668/0.3364, allocations: 68.17 kB / 0.5078 GB, free: 11.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01514/0.3516, allocations: 6.251 MB / 0.5139 GB, free: 9.398 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.3516, allocations: 0 / 0.5139 GB, free: 9.398 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.3516, allocations: 7.938 kB / 0.5139 GB, free: 9.391 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0005435/0.3522, allocations: 0.5621 MB / 0.5145 GB, free: 8.801 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3522, allocations: 8.031 kB / 0.5145 GB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.336e-05/0.3523, allocations: 35.53 kB / 0.5145 GB, free: 8.758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003581/0.3526, allocations: 318.5 kB / 0.5148 GB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.3527, allocations: 18.62 kB / 0.5149 GB, free: 8.434 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.395e-05/0.3527, allocations: 22.7 kB / 0.5149 GB, free: 8.418 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003373/0.3531, allocations: 273.5 kB / 0.5151 GB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.3531, allocations: 0 / 0.5151 GB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.3531, allocations: 11.31 kB / 0.5151 GB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.3531, allocations: 4 kB / 0.5151 GB, free: 8.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.3534, allocations: 150 kB / 0.5153 GB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009158/0.3543, allocations: 1.08 MB / 0.5163 GB, free: 7.059 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.3547, allocations: 222.9 kB / 0.5166 GB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.3548, allocations: 120.7 kB / 0.5167 GB, free: 6.793 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.712e-05/0.3549, allocations: 11.88 kB / 0.5167 GB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.3551, allocations: 196.1 kB / 0.5169 GB, free: 6.598 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 1.522e-06/0.3551, allocations: 0 / 0.5169 GB, free: 6.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004414/0.3555, allocations: 312 kB / 0.5172 GB, free: 6.336 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.3556, allocations: 158.2 kB / 0.5173 GB, free: 6.145 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001817/0.3558, allocations: 239 kB / 0.5175 GB, free: 5.945 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3558, allocations: 29.14 kB / 0.5176 GB, free: 5.914 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.3559, allocations: 170.2 kB / 0.5177 GB, free: 5.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.3559, allocations: 72.95 kB / 0.5178 GB, free: 5.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.3559, allocations: 6.719 kB / 0.5178 GB, free: 5.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.83e-05/0.356, allocations: 343.9 kB / 0.5181 GB, free: 5.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.3561, allocations: 76.67 kB / 0.5182 GB, free: 5.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.3563, allocations: 175.6 kB / 0.5184 GB, free: 5.164 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.3564, allocations: 110.8 kB / 0.5185 GB, free: 5.074 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.3564, allocations: 7.984 kB / 0.5185 GB, free: 5.066 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007422/0.3572, allocations: 483.1 kB / 0.519 GB, free: 4.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.376e-05/0.3573, allocations: 0.5597 MB / 0.5195 GB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3573, allocations: 4.062 kB / 0.5195 GB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.3576, allocations: 98 kB / 0.5196 GB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3577, allocations: 31.92 kB / 0.5196 GB, free: 3.949 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007774/0.3585, allocations: 1.255 MB / 0.5209 GB, free: 2.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.3587, allocations: 39.58 kB / 0.5209 GB, free: 2.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.269e-05/0.3587, allocations: 11.98 kB / 0.5209 GB, free: 2.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.3588, allocations: 7.438 kB / 0.5209 GB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004768/0.3592, allocations: 370.6 kB / 0.5213 GB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.3593, allocations: 8.156 kB / 0.5213 GB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000145/0.3594, allocations: 71.88 kB / 0.5213 GB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.3595, allocations: 24.11 kB / 0.5214 GB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.3613, allocations: 3.012 MB / 0.5243 GB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000197/0.3615, allocations: 22.88 kB / 0.5243 GB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.3615, allocations: 19.11 kB / 0.5243 GB, free: 15.17 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,leadLagNegativeGain.integ_fb.local_reset,leadLagPositiveGain.integ_fb.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.3617, allocations: 162.7 kB / 0.5245 GB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.176e-05/0.3617, allocations: 27.72 kB / 0.5245 GB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.676e-05/0.3618, allocations: 31.2 kB / 0.5246 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3618, allocations: 7.953 kB / 0.5246 GB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3618, allocations: 0 / 0.5246 GB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3618, allocations: 3.984 kB / 0.5246 GB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.3621, allocations: 331.1 kB / 0.5249 GB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.3622, allocations: 4 kB / 0.5249 GB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.3624, allocations: 47.28 kB / 0.5249 GB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.3624, allocations: 4 kB / 0.5249 GB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.3624, allocations: 11.11 kB / 0.5249 GB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3624, allocations: 0 / 0.5249 GB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3624, allocations: 3.953 kB / 0.525 GB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006691/0.3631, allocations: 495.8 kB / 0.5254 GB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.66e-05/0.3632, allocations: 108.2 kB / 0.5255 GB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.3632, allocations: 7.125 kB / 0.5255 GB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.3634, allocations: 35.17 kB / 0.5256 GB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.943e-05/0.3635, allocations: 15.11 kB / 0.5256 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.3635, allocations: 8 kB / 0.5256 GB, free: 13.99 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000172/0.3637, allocations: 198 kB / 0.5258 GB, free: 13.83 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3637, allocations: 0 / 0.5258 GB, free: 13.83 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00053/0.3643, allocations: 129.2 kB / 0.5259 GB, free: 13.71 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (leadLagPositiveGain.integ_fb.y,leadLagNegativeGain.integ_fb.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 (17): * Single equations (assignments): 16 * 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.0002011/0.3645, allocations: 141.9 kB / 0.526 GB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.3657, allocations: 0.8374 MB / 0.5269 GB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.3657, allocations: 0 / 0.5269 GB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.3659, allocations: 179.9 kB / 0.527 GB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.3662, allocations: 46.78 kB / 0.5271 GB, free: 12.65 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.3674, allocations: 0.5364 MB / 0.5276 GB, free: 12.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.3677, allocations: 0.7762 MB / 0.5284 GB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.3679, allocations: 47.09 kB / 0.5284 GB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.887e-05/0.3679, allocations: 23.42 kB / 0.5284 GB, free: 11.27 MB / 346.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3679, allocations: 0 / 0.5284 GB, free: 11.27 MB / 346.7 MB Notification: Performance of Templates: time 0.008173/0.3761, allocations: 4.549 MB / 0.5329 GB, free: 6.734 MB / 346.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1)