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-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/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.0013/0.0013, allocations: 173.3 kB / 16.11 MB, free: 5.57 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.762/1.762, allocations: 205.4 MB / 222.3 MB, free: 13.66 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.001068/0.001068, allocations: 86.31 kB / 270.6 MB, free: 13.19 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.0695/0.0695, allocations: 14.21 MB / 333.1 MB, free: 8.59 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004372, allocations: 13.08 kB / 396.9 MB, free: 49.65 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 51.13 MB / 448 MB, free: 4.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1169/0.2301, allocations: 79.67 MB / 0.5153 GB, free: 4.449 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.2304, allocations: 71.95 kB / 0.5154 GB, free: 4.379 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2184/0.4488, allocations: 6.673 MB / 0.5219 GB, free: 81.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4488, allocations: 0 / 0.5219 GB, free: 81.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.43e-05/0.4488, allocations: 7.75 kB / 0.5219 GB, free: 81.98 MB / 362.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.0008433/0.4497, allocations: 0.6287 MB / 0.5225 GB, free: 81.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.4497, allocations: 9.375 kB / 0.5226 GB, free: 81.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.739e-05/0.4498, allocations: 38.97 kB / 0.5226 GB, free: 81.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.4503, allocations: 345.2 kB / 0.5229 GB, free: 81.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.4503, allocations: 13.81 kB / 0.5229 GB, free: 81.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.4504, allocations: 20.2 kB / 0.523 GB, free: 81.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.451, allocations: 316 kB / 0.5233 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.4511, allocations: 192 / 0.5233 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.4511, allocations: 13.5 kB / 0.5233 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.4511, allocations: 3.062 kB / 0.5233 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.4518, allocations: 245.3 kB / 0.5235 GB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.4532, allocations: 0.961 MB / 0.5244 GB, free: 80.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.4542, allocations: 373.7 kB / 0.5248 GB, free: 80.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.4546, allocations: 164.5 kB / 0.525 GB, free: 80.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.4546, allocations: 3.859 kB / 0.525 GB, free: 80.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/0.4551, allocations: 256.5 kB / 0.5252 GB, free: 80.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.4551, allocations: 1.094 kB / 0.5252 GB, free: 80.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=21): time 0.001271/0.4564, allocations: 0.5173 MB / 0.5257 GB, free: 80.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.4565, allocations: 221.8 kB / 0.5259 GB, free: 80.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.4568, allocations: 286.2 kB / 0.5262 GB, free: 79.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.813e-05/0.4569, allocations: 28.7 kB / 0.5262 GB, free: 79.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.457, allocations: 181.9 kB / 0.5264 GB, free: 79.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.045e-05/0.457, allocations: 66.77 kB / 0.5265 GB, free: 79.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.457, allocations: 4.844 kB / 0.5265 GB, free: 79.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.4571, allocations: 343.2 kB / 0.5268 GB, free: 79.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.4575, allocations: 127.9 kB / 0.5269 GB, free: 79.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.4579, allocations: 209.4 kB / 0.5271 GB, free: 79.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006521/0.4585, allocations: 338.2 kB / 0.5274 GB, free: 79.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4585, allocations: 1.375 kB / 0.5274 GB, free: 79.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008596/0.4594, allocations: 443.5 kB / 0.5279 GB, free: 79.16 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.477e-05/0.4595, allocations: 141.2 kB / 0.528 GB, free: 79.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4595, allocations: 1.219 kB / 0.528 GB, free: 79.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4595, allocations: 2.312 kB / 0.528 GB, free: 79.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.4597, allocations: 53.38 kB / 0.528 GB, free: 79.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4598, allocations: 7.047 kB / 0.5281 GB, free: 79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.46, allocations: 53.61 kB / 0.5281 GB, free: 78.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-05/0.4601, allocations: 14.23 kB / 0.5281 GB, free: 78.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-06/0.4602, allocations: 5.031 kB / 0.5281 GB, free: 78.99 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005291/0.4607, allocations: 311.3 kB / 0.5284 GB, free: 78.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-06/0.4607, allocations: 1.969 kB / 0.5284 GB, free: 78.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-06/0.4607, allocations: 2.781 kB / 0.5284 GB, free: 78.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.4609, allocations: 45.38 kB / 0.5285 GB, free: 78.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.4609, allocations: 0 / 0.5285 GB, free: 78.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.461, allocations: 32.45 kB / 0.5285 GB, free: 78.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.4611, allocations: 8.953 kB / 0.5285 GB, free: 78.93 MB / 362.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 () * Number of clocked 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 0.0001713/0.4612, allocations: 261.2 kB / 0.5288 GB, free: 78.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.4613, allocations: 27.06 kB / 0.5288 GB, free: 78.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.875e-05/0.4614, allocations: 34.48 kB / 0.5288 GB, free: 78.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.4614, allocations: 6.5 kB / 0.5288 GB, free: 78.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.4614, allocations: 1.953 kB / 0.5288 GB, free: 78.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.4614, allocations: 4.953 kB / 0.5288 GB, free: 78.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003379/0.4618, allocations: 353.3 kB / 0.5292 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.4618, allocations: 0 / 0.5292 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.462, allocations: 49.11 kB / 0.5292 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.462, allocations: 3.438 kB / 0.5292 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.462, allocations: 18.23 kB / 0.5292 GB, free: 78.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.462, allocations: 2.312 kB / 0.5292 GB, free: 78.47 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.462, allocations: 1.5 kB / 0.5292 GB, free: 78.47 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.4632, allocations: 0.6294 MB / 0.5299 GB, free: 78.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.434e-05/0.4633, allocations: 104.7 kB / 0.53 GB, free: 78.22 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.197e-05/0.4634, allocations: 8.469 kB / 0.53 GB, free: 78.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.4636, allocations: 38.44 kB / 0.53 GB, free: 78.21 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.88e-05/0.4637, allocations: 15.77 kB / 0.53 GB, free: 78.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.4637, allocations: 15.03 kB / 0.53 GB, free: 78.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002127/0.4639, allocations: 206.6 kB / 0.5302 GB, free: 78.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4639, allocations: 1.062 kB / 0.5302 GB, free: 78.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004613/0.4644, allocations: 124.1 kB / 0.5303 GB, free: 78.11 MB / 362.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) * Number of clocked states: 0 () * 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.0002033/0.4646, allocations: 146.2 kB / 0.5305 GB, free: 78 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.4657, allocations: 0.5519 MB / 0.531 GB, free: 77.86 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4657, allocations: 4.062 kB / 0.531 GB, free: 77.86 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003616/0.4661, allocations: 223.4 kB / 0.5312 GB, free: 77.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004306/0.4665, allocations: 71.03 kB / 0.5313 GB, free: 77.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.4676, allocations: 0.6584 MB / 0.5319 GB, free: 77.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001903/0.4678, allocations: 0.7733 MB / 0.5327 GB, free: 76.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000175/0.4679, allocations: 41.94 kB / 0.5327 GB, free: 76.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.468, allocations: 21.84 kB / 0.5328 GB, free: 76.71 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.468, allocations: 0 / 0.5328 GB, free: 76.71 MB / 362.7 MB Notification: Performance of Templates: time 0.009465/0.4775, allocations: 3.88 MB / 0.5366 GB, free: 75.76 MB / 362.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1)