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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,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=480,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01106/0.01106, allocations: 101.1 kB / 15.88 MB, free: 6.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 196 kB / 16.79 MB, free: 6.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.705/1.705, allocations: 222.9 MB / 240.5 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.3361/0.3361, allocations: 16.78 MB / 307.4 MB, free: 14.94 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 59.91 kB / 373.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6216, allocations: 53.55 MB / 427.3 MB, free: 40.88 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.004873/0.6266, allocations: 2.212 MB / 429.6 MB, free: 39.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.6287, allocations: 0.879 MB / 430.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.629, allocations: 9.5 kB / 430.4 MB, free: 39.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003967/0.6294, allocations: 56.33 kB / 430.5 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001688/0.6296, allocations: 66.7 kB / 430.6 MB, free: 39.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.6304, allocations: 240.2 kB / 430.8 MB, free: 39.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004406/0.6309, allocations: 330.7 kB / 431.1 MB, free: 39.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003022/0.6312, allocations: 104.6 kB / 431.2 MB, free: 38.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.6314, allocations: 113.8 kB / 431.3 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.6317, allocations: 154 kB / 431.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.6317, allocations: 11.72 kB / 431.5 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.6319, allocations: 86.14 kB / 431.6 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.6321, allocations: 55.03 kB / 431.6 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.6323, allocations: 125.7 kB / 431.8 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.6326, allocations: 257.1 kB / 432 MB, free: 38.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.6327, allocations: 2.719 kB / 432 MB, free: 38.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6327, allocations: 0 / 432 MB, free: 38.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.6327, allocations: 0 / 432 MB, free: 38.62 MB / 350.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.00125/0.6339, allocations: 0.6416 MB / 432.6 MB, free: 38.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/0.634, allocations: 8.375 kB / 432.7 MB, free: 38.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.6341, allocations: 47.12 kB / 432.7 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.6346, allocations: 319.7 kB / 433 MB, free: 37.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.6347, allocations: 13.16 kB / 433 MB, free: 37.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.427e-05/0.6347, allocations: 20 kB / 433 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/0.6355, allocations: 294.6 kB / 433.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.6355, allocations: 0 / 433.3 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.956e-05/0.6355, allocations: 14.77 kB / 433.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.6355, allocations: 10.06 kB / 433.4 MB, free: 37.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006054/0.6362, allocations: 213.2 kB / 433.6 MB, free: 37.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001459/0.6376, allocations: 0.8473 MB / 434.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.6387, allocations: 329.1 kB / 434.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003506/0.6391, allocations: 143.6 kB / 434.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.6391, allocations: 0 / 434.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006763/0.6398, allocations: 233.4 kB / 435.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.6398, allocations: 0 / 435.1 MB, free: 36.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001225/0.6411, allocations: 458.6 kB / 435.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001207/0.6412, allocations: 219.3 kB / 435.8 MB, free: 36.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.6415, allocations: 280.4 kB / 436 MB, free: 36.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.6416, allocations: 32.3 kB / 436.1 MB, free: 36.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.6417, allocations: 175.3 kB / 436.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.6418, allocations: 70.14 kB / 436.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.6419, allocations: 47.77 kB / 436.4 MB, free: 35.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6421, allocations: 334.7 kB / 436.7 MB, free: 35.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.6424, allocations: 120.6 kB / 436.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003812/0.6428, allocations: 177 kB / 437 MB, free: 35.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.6434, allocations: 319.4 kB / 437.3 MB, free: 35.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.6434, allocations: 4 kB / 437.3 MB, free: 35.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007952/0.6442, allocations: 384.6 kB / 437.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.281e-05/0.6443, allocations: 35.12 kB / 437.7 MB, free: 34.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6443, allocations: 11.86 kB / 437.7 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.6444, allocations: 0 / 437.7 MB, free: 34.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.6446, allocations: 53.92 kB / 437.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.6446, allocations: 0 / 437.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.6449, allocations: 38.67 kB / 437.8 MB, free: 34.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.6449, allocations: 9.719 kB / 437.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000278/0.6452, allocations: 186.5 kB / 438 MB, free: 34.8 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002991/0.6455, allocations: 152 kB / 438.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004185/0.6459, allocations: 239.5 kB / 438.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.172e-06/0.6459, allocations: 0 / 438.4 MB, free: 34.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005787/0.6465, allocations: 314.4 kB / 438.7 MB, free: 34.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.6466, allocations: 40.66 kB / 438.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-06/0.6466, allocations: 4.094 kB / 438.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.729e-06/0.6466, allocations: 1.719 kB / 438.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.6468, allocations: 35.44 kB / 438.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6468, allocations: 3.938 kB / 438.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.647, allocations: 27.67 kB / 438.8 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.647, allocations: 5.531 kB / 438.8 MB, free: 34.35 MB / 350.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.000187/0.6472, allocations: 238.6 kB / 439 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/0.6473, allocations: 37.95 kB / 439.1 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.636e-05/0.6474, allocations: 30.33 kB / 439.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.6474, allocations: 2.875 kB / 439.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.6474, allocations: 0 / 439.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.6474, allocations: 2.906 kB / 439.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.6478, allocations: 336.9 kB / 439.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.6478, allocations: 0 / 439.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002308/0.6481, allocations: 41.39 kB / 439.5 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.6481, allocations: 6.062 kB / 439.5 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.6481, allocations: 14.56 kB / 439.5 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.6481, allocations: 6.594 kB / 439.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6481, allocations: 0 / 439.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.6494, allocations: 0.5587 MB / 440.1 MB, free: 33.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.6495, allocations: 108.8 kB / 440.2 MB, free: 33.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-05/0.6495, allocations: 12.88 kB / 440.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/0.6497, allocations: 26.91 kB / 440.2 MB, free: 33.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.338e-05/0.6498, allocations: 15.75 kB / 440.2 MB, free: 33.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.131e-05/0.6499, allocations: 8.125 kB / 440.2 MB, free: 33.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002141/0.6501, allocations: 201.1 kB / 440.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6501, allocations: 0 / 440.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004898/0.6506, allocations: 110.1 kB / 440.5 MB, free: 33.29 MB / 350.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.0002943/0.6509, allocations: 130.5 kB / 440.7 MB, free: 33.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001092/0.652, allocations: 0.5383 MB / 441.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.652, allocations: 384 / 441.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.6524, allocations: 213.5 kB / 441.4 MB, free: 32.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.6529, allocations: 75.31 kB / 441.5 MB, free: 32.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.6543, allocations: 0.7088 MB / 442.2 MB, free: 32.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.6547, allocations: 0.7716 MB / 443 MB, free: 31.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.6548, allocations: 23.91 kB / 443 MB, free: 31.61 MB / 350.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6548, allocations: 0 / 443 MB, free: 31.61 MB / 350.1 MB Notification: Performance of Templates: time 0.008378/0.6632, allocations: 3.848 MB / 446.8 MB, free: 31.18 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile (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 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1) 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) Reference file matches