Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 78.72 kB / 19.76 MB, free: 1.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 162.7 kB / 23.01 MB, free: 4.598 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 8.883 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0792/0.0792, allocations: 12.54 MB / 272.3 MB, free: 4.547 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=240,variableFilter="PController.G.k|PController.G.u|PController.G.y|PController.Ki|PController.Kp|PController.feedback.y|PController.initType|PController.lim.homotopyType|PController.lim.limitsAtInit|PController.lim.strict|PController.lim.u|PController.lim.uMax|PController.lim.uMin|PController.lim.y|PController.noDynamics|PController.strict|PController.u|PController.y|PController.yMax|PController.yMin|PController.yStart|PController.zero.y|PControllerAnalyticSolution.y|PIController.G.k|PIController.G.u|PIController.G.y|PIController.Ki|PIController.Kp|PIController.feedback.y|PIController.firstOrder.T|PIController.firstOrder.initType|PIController.firstOrder.k|PIController.firstOrder.u|PIController.firstOrder.y|PIController.firstOrder.y_start|PIController.initType|PIController.lim.homotopyType|PIController.lim.limitsAtInit|PIController.lim.strict|PIController.lim.u|PIController.lim.uMax|PIController.lim.uMin|PIController.lim.y|PIController.noDynamics|PIController.strict|PIController.u|PIController.y|PIController.yMax|PIController.yMin|PIController.yStart|PIControllerAnalyticSolution.y|PIControllerNegativeKp.G.k|PIControllerNegativeKp.G.u|PIControllerNegativeKp.G.y|PIControllerNegativeKp.Ki|PIControllerNegativeKp.Kp|PIControllerNegativeKp.feedback.y|PIControllerNegativeKp.firstOrder.T|PIControllerNegativeKp.firstOrder.initType|PIControllerNegativeKp.firstOrder.k|PIControllerNegativeKp.firstOrder.u|PIControllerNegativeKp.firstOrder.y|PIControllerNegativeKp.firstOrder.y_start|PIControllerNegativeKp.initType|PIControllerNegativeKp.lim.homotopyType|PIControllerNegativeKp.lim.limitsAtInit|PIControllerNegativeKp.lim.strict|PIControllerNegativeKp.lim.u|PIControllerNegativeKp.lim.uMax|PIControllerNegativeKp.lim.uMin|PIControllerNegativeKp.lim.y|PIControllerNegativeKp.noDynamics|PIControllerNegativeKp.strict|PIControllerNegativeKp.u|PIControllerNegativeKp.y|PIControllerNegativeKp.yMax|PIControllerNegativeKp.yMin|PIControllerNegativeKp.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|negative.k|negative.u|negative.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=240,variableFilter="PController.G.k|PController.G.u|PController.G.y|PController.Ki|PController.Kp|PController.feedback.y|PController.initType|PController.lim.homotopyType|PController.lim.limitsAtInit|PController.lim.strict|PController.lim.u|PController.lim.uMax|PController.lim.uMin|PController.lim.y|PController.noDynamics|PController.strict|PController.u|PController.y|PController.yMax|PController.yMin|PController.yStart|PController.zero.y|PControllerAnalyticSolution.y|PIController.G.k|PIController.G.u|PIController.G.y|PIController.Ki|PIController.Kp|PIController.feedback.y|PIController.firstOrder.T|PIController.firstOrder.initType|PIController.firstOrder.k|PIController.firstOrder.u|PIController.firstOrder.y|PIController.firstOrder.y_start|PIController.initType|PIController.lim.homotopyType|PIController.lim.limitsAtInit|PIController.lim.strict|PIController.lim.u|PIController.lim.uMax|PIController.lim.uMin|PIController.lim.y|PIController.noDynamics|PIController.strict|PIController.u|PIController.y|PIController.yMax|PIController.yMin|PIController.yStart|PIControllerAnalyticSolution.y|PIControllerNegativeKp.G.k|PIControllerNegativeKp.G.u|PIControllerNegativeKp.G.y|PIControllerNegativeKp.Ki|PIControllerNegativeKp.Kp|PIControllerNegativeKp.feedback.y|PIControllerNegativeKp.firstOrder.T|PIControllerNegativeKp.firstOrder.initType|PIControllerNegativeKp.firstOrder.k|PIControllerNegativeKp.firstOrder.u|PIControllerNegativeKp.firstOrder.y|PIControllerNegativeKp.firstOrder.y_start|PIControllerNegativeKp.initType|PIControllerNegativeKp.lim.homotopyType|PIControllerNegativeKp.lim.limitsAtInit|PIControllerNegativeKp.lim.strict|PIControllerNegativeKp.lim.u|PIControllerNegativeKp.lim.uMax|PIControllerNegativeKp.lim.uMin|PIControllerNegativeKp.lim.y|PIControllerNegativeKp.noDynamics|PIControllerNegativeKp.strict|PIControllerNegativeKp.u|PIControllerNegativeKp.y|PIControllerNegativeKp.yMax|PIControllerNegativeKp.yMin|PIControllerNegativeKp.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|negative.k|negative.u|negative.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.91 kB / 405.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1064, allocations: 57.7 MB / 463.4 MB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.003476/0.1098, allocations: 2.06 MB / 465.4 MB, free: 1.902 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001704/0.1115, allocations: 0.8688 MB / 466.3 MB, free: 1.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1117, allocations: 15.88 kB / 466.3 MB, free: 1.012 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.1119, allocations: 67.48 kB / 466.4 MB, free: 0.9453 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.1121, allocations: 79.48 kB / 466.5 MB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.1128, allocations: 271.6 kB / 466.7 MB, free: 0.6016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.1132, allocations: 359.1 kB / 467.1 MB, free: 256 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.1134, allocations: 75.84 kB / 467.2 MB, free: 180 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.1136, allocations: 135.5 kB / 467.3 MB, free: 44 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.1138, allocations: 151.3 kB / 467.4 MB, free: 15.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.1139, allocations: 24 kB / 467.5 MB, free: 15.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.1141, allocations: 107.8 kB / 467.6 MB, free: 15.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1142, allocations: 71.7 kB / 467.6 MB, free: 15.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.1143, allocations: 107.3 kB / 467.7 MB, free: 15.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.1148, allocations: 366.5 kB / 468.1 MB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.1148, allocations: 0 / 468.1 MB, free: 15.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1148, allocations: 0 / 468.1 MB, free: 15.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1148, allocations: 0 / 468.1 MB, free: 15.23 MB / 446.1 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.0009904/0.1158, allocations: 0.5802 MB / 468.7 MB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1158, allocations: 8.031 kB / 468.7 MB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.1159, allocations: 40.7 kB / 468.7 MB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000518/0.1164, allocations: 266.4 kB / 469 MB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.1164, allocations: 12.38 kB / 469 MB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.586e-05/0.1165, allocations: 24.38 kB / 469 MB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.1172, allocations: 399.3 kB / 469.4 MB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1172, allocations: 0 / 469.4 MB, free: 13.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.1172, allocations: 15.98 kB / 469.4 MB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.525e-06/0.1172, allocations: 7.938 kB / 469.4 MB, free: 13.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006736/0.1179, allocations: 250.1 kB / 469.7 MB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.1192, allocations: 0.7118 MB / 470.4 MB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.1203, allocations: 349.5 kB / 470.7 MB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003709/0.1206, allocations: 160.3 kB / 470.9 MB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1207, allocations: 4 kB / 470.9 MB, free: 12.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005287/0.1212, allocations: 265.2 kB / 471.1 MB, free: 11.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=21): time 2.024e-06/0.1212, allocations: 4 kB / 471.2 MB, free: 11.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=21): time 0.001292/0.1225, allocations: 0.517 MB / 471.7 MB, free: 11.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.1226, allocations: 217.6 kB / 471.9 MB, free: 11.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.1229, allocations: 276.2 kB / 472.2 MB, free: 10.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.224e-05/0.123, allocations: 33.7 kB / 472.2 MB, free: 10.81 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.1231, allocations: 172.5 kB / 472.4 MB, free: 10.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.656e-05/0.1232, allocations: 75.38 kB / 472.4 MB, free: 10.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.1233, allocations: 45.7 kB / 472.5 MB, free: 10.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1234, allocations: 346.7 kB / 472.8 MB, free: 10.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.1238, allocations: 146.5 kB / 473 MB, free: 10.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/0.1243, allocations: 341.9 kB / 473.3 MB, free: 9.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007059/0.125, allocations: 317.8 kB / 473.6 MB, free: 9.277 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.125, allocations: 0 / 473.6 MB, free: 9.277 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009248/0.126, allocations: 428.5 kB / 474 MB, free: 8.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.126, allocations: 37.7 kB / 474.1 MB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.126, allocations: 7.922 kB / 474.1 MB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.126, allocations: 4 kB / 474.1 MB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002736/0.1263, allocations: 43.97 kB / 474.1 MB, free: 8.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.1263, allocations: 3.984 kB / 474.1 MB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.1266, allocations: 43.92 kB / 474.2 MB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.1266, allocations: 8 kB / 474.2 MB, free: 8.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003242/0.1269, allocations: 213.8 kB / 474.4 MB, free: 8.469 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003566/0.1273, allocations: 309.8 kB / 474.7 MB, free: 8.102 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004513/0.1277, allocations: 254.2 kB / 474.9 MB, free: 7.832 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.1277, allocations: 0 / 474.9 MB, free: 7.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0006221/0.1283, allocations: 352.6 kB / 475.3 MB, free: 7.469 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.1284, allocations: 44.19 kB / 475.3 MB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-06/0.1284, allocations: 0 / 475.3 MB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.1284, allocations: 4 kB / 475.3 MB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.1286, allocations: 40.02 kB / 475.4 MB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.344e-06/0.1286, allocations: 0 / 475.4 MB, free: 7.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.1288, allocations: 31.92 kB / 475.4 MB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.1288, allocations: 8 kB / 475.4 MB, free: 7.34 MB / 446.1 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.0001997/0.129, allocations: 237.8 kB / 475.6 MB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.282e-05/0.1291, allocations: 31.81 kB / 475.7 MB, free: 7.062 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.356e-05/0.1291, allocations: 30.14 kB / 475.7 MB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.1291, allocations: 0 / 475.7 MB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1291, allocations: 8 kB / 475.7 MB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1291, allocations: 0 / 475.7 MB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002846/0.1294, allocations: 233.2 kB / 475.9 MB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1294, allocations: 3.938 kB / 475.9 MB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.1297, allocations: 47.95 kB / 476 MB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1297, allocations: 0 / 476 MB, free: 6.711 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.1297, allocations: 4.125 kB / 476 MB, free: 6.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.1297, allocations: 11.94 kB / 476 MB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.1297, allocations: 4 kB / 476 MB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.1311, allocations: 0.6243 MB / 476.6 MB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.1311, allocations: 23.95 kB / 476.6 MB, free: 6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.1312, allocations: 8 kB / 476.6 MB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.1314, allocations: 27.97 kB / 476.7 MB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.86e-05/0.1315, allocations: 23.91 kB / 476.7 MB, free: 5.941 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.637e-05/0.1315, allocations: 4 kB / 476.7 MB, free: 5.938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002047/0.1317, allocations: 199.1 kB / 476.9 MB, free: 5.746 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1317, allocations: 0 / 476.9 MB, free: 5.746 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004448/0.1321, allocations: 119.7 kB / 477 MB, free: 5.629 MB / 446.1 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.0002015/0.1323, allocations: 142.9 kB / 477.2 MB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001198/0.1335, allocations: 0.574 MB / 477.7 MB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1335, allocations: 0 / 477.7 MB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004273/0.134, allocations: 217 kB / 477.9 MB, free: 4.633 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.1344, allocations: 73.97 kB / 478 MB, free: 4.57 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.1358, allocations: 0.6066 MB / 478.6 MB, free: 3.918 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.136, allocations: 167.5 kB / 478.8 MB, free: 3.738 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001588/0.1362, allocations: 29.94 kB / 478.8 MB, free: 3.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.943e-05/0.1362, allocations: 24.5 kB / 478.8 MB, free: 3.684 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1362, allocations: 4 kB / 478.8 MB, free: 3.68 MB / 446.1 MB Notification: Performance of Templates: time 0.2019/0.3381, allocations: 4.408 MB / 483.2 MB, free: 59.6 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable PController.lim.limitsAtInit in file PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat. Warning: Get data of variable PController.lim.limitsAtInit from file PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat failed! Error: Could not read variable PIController.lim.limitsAtInit in file PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat. Warning: Get data of variable PIController.lim.limitsAtInit from file PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat failed! Error: Could not read variable PIControllerNegativeKp.lim.limitsAtInit in file PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat. Warning: Get data of variable PIControllerNegativeKp.lim.limitsAtInit from file PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.975416951929219]