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.001066/0.001066, allocations: 185.7 kB / 15.98 MB, free: 5.789 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.373/1.373, allocations: 205.1 MB / 221.8 MB, free: 8.469 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.0009789/0.0009787, allocations: 102.3 kB / 269.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0588/0.0588, allocations: 14.17 MB / 330.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 47.92 kB / 393.7 MB, free: 62.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08492/0.08614, allocations: 50.14 MB / 443.8 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.003348/0.08953, allocations: 2.216 MB / 446 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001544/0.09111, allocations: 0.9321 MB / 447 MB, free: 9.488 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002872/0.09143, allocations: 11.94 kB / 447 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.09173, allocations: 55.69 kB / 447 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.09192, allocations: 67.59 kB / 447.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000691/0.09262, allocations: 243.1 kB / 447.3 MB, free: 9.121 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.09301, allocations: 327.1 kB / 447.7 MB, free: 8.801 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.09321, allocations: 111.3 kB / 447.8 MB, free: 8.695 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.09337, allocations: 115.4 kB / 447.9 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001846/0.09356, allocations: 155.3 kB / 448 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.09361, allocations: 12 kB / 448 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.09376, allocations: 79.94 kB / 448.1 MB, free: 8.34 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.3e-05/0.09385, allocations: 63.69 kB / 448.2 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.09396, allocations: 123.1 kB / 448.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.09427, allocations: 346.8 kB / 448.6 MB, free: 7.816 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.09428, allocations: 0 / 448.6 MB, free: 7.816 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.09429, allocations: 0 / 448.6 MB, free: 7.816 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.0943, allocations: 7.938 kB / 448.7 MB, free: 7.809 MB / 298.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.0008521/0.09516, allocations: 0.6441 MB / 449.3 MB, free: 7.109 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.0952, allocations: 12.03 kB / 449.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.61e-05/0.09528, allocations: 32.56 kB / 449.3 MB, free: 7.066 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.09563, allocations: 335.2 kB / 449.7 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.09565, allocations: 12.38 kB / 449.7 MB, free: 6.688 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.0957, allocations: 20.38 kB / 449.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.09623, allocations: 296.7 kB / 450 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.09626, allocations: 0 / 450 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.09629, allocations: 15.94 kB / 450 MB, free: 6.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.0963, allocations: 8 kB / 450 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005761/0.09688, allocations: 216.3 kB / 450.2 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.09793, allocations: 0.8484 MB / 451.1 MB, free: 5.203 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008945/0.09884, allocations: 323.8 kB / 451.4 MB, free: 4.859 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.09915, allocations: 146.6 kB / 451.5 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.09919, allocations: 8 kB / 451.5 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004535/0.09965, allocations: 227.5 kB / 451.8 MB, free: 4.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.09966, allocations: 0 / 451.8 MB, free: 4.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.00103/0.1007, allocations: 463 kB / 452.2 MB, free: 3.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.1008, allocations: 217.6 kB / 452.4 MB, free: 3.723 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1011, allocations: 286.9 kB / 452.7 MB, free: 3.426 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.1011, allocations: 29.7 kB / 452.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.1012, allocations: 172.3 kB / 452.9 MB, free: 3.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.1013, allocations: 67.09 kB / 453 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.55e-05/0.1014, allocations: 53.72 kB / 453 MB, free: 3.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.1014, allocations: 338.8 kB / 453.4 MB, free: 2.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/0.1017, allocations: 116.8 kB / 453.5 MB, free: 2.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.1021, allocations: 188.4 kB / 453.7 MB, free: 2.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005551/0.1026, allocations: 302.7 kB / 453.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1026, allocations: 0 / 453.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007218/0.1034, allocations: 390.7 kB / 454.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.1034, allocations: 41.62 kB / 454.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1034, allocations: 0 / 454.4 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1035, allocations: 4 kB / 454.4 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.1037, allocations: 43.97 kB / 454.4 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1037, allocations: 8.094 kB / 454.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/0.1039, allocations: 35.81 kB / 454.5 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/0.104, allocations: 11.98 kB / 454.5 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00024/0.1042, allocations: 192 kB / 454.7 MB, free: 1.371 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002007/0.1044, allocations: 147.8 kB / 454.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003283/0.1048, allocations: 242.7 kB / 455 MB, free: 0.9375 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.1048, allocations: 7.984 kB / 455 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004803/0.1053, allocations: 310.7 kB / 455.4 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.1053, allocations: 37.7 kB / 455.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.1053, allocations: 0 / 455.4 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-06/0.1053, allocations: 4 kB / 455.4 MB, free: 0.5664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1054, allocations: 39.91 kB / 455.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.695e-06/0.1055, allocations: 0 / 455.4 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.1057, allocations: 32.02 kB / 455.5 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.1057, allocations: 4 kB / 455.5 MB, free: 0.4922 MB / 298.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 (inputSignal.nextEventScaled,inputSignal.nextEvent,$PRE.inputSignal.nextEvent,inputSignal.last,inputSignal.b,inputSignal.a,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.1058, allocations: 236.7 kB / 455.7 MB, free: 256 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.57e-05/0.1059, allocations: 31.62 kB / 455.7 MB, free: 224 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.416e-05/0.1059, allocations: 34.3 kB / 455.8 MB, free: 188 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1059, allocations: 3.938 kB / 455.8 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.106, allocations: 0 / 455.8 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.106, allocations: 8 kB / 455.8 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003268/0.1063, allocations: 349.3 kB / 456.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1063, allocations: 0 / 456.1 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.1065, allocations: 43.97 kB / 456.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1066, allocations: 0 / 456.2 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/0.1066, allocations: 11.92 kB / 456.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1066, allocations: 0 / 456.2 MB, free: 15.73 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1066, allocations: 4 kB / 456.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005834/0.1124, allocations: 3.087 MB / 459.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.073e-05/0.1126, allocations: 108.7 kB / 459.4 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.1126, allocations: 8 kB / 459.4 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.1129, allocations: 28.03 kB / 459.4 MB, free: 12.3 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/0.113, allocations: 19.98 kB / 459.4 MB, free: 12.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.959e-05/0.113, allocations: 7.984 kB / 459.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002051/0.1132, allocations: 202 kB / 459.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1132, allocations: 0 / 459.6 MB, free: 12.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006918/0.1139, allocations: 159.8 kB / 459.8 MB, free: 11.92 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.1141, allocations: 123.2 kB / 459.9 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.1153, allocations: 0.5452 MB / 460.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1153, allocations: 0 / 460.4 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003748/0.1157, allocations: 219.6 kB / 460.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004102/0.1161, allocations: 60.61 kB / 460.7 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1175, allocations: 0.9299 MB / 461.6 MB, free: 9.945 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1178, allocations: 0.7758 MB / 462.4 MB, free: 9.145 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.118, allocations: 41.92 kB / 462.5 MB, free: 9.105 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.025e-05/0.1181, allocations: 27.38 kB / 462.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of SimCode: time 8.52e-07/0.1181, allocations: 0 / 462.5 MB, free: 9.078 MB / 314.7 MB Notification: Performance of Templates: time 0.009483/0.1276, allocations: 4.577 MB / 467.1 MB, free: 4.512 MB / 314.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)