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.008091/0.008091, allocations: 102 kB / 15.73 MB, free: 6.051 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.001779/0.001779, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.222/1.222, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07252/0.07252, allocations: 16.78 MB / 307.3 MB, free: 14.37 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 428.7 MB, free: 8.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.08758, allocations: 53.56 MB / 482.2 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.00293/0.09054, allocations: 2.157 MB / 484.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.09184, allocations: 0.8881 MB / 485.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.09196, allocations: 7.938 kB / 485.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.09218, allocations: 67.5 kB / 485.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000134/0.09232, allocations: 71.55 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006139/0.09294, allocations: 282 kB / 485.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003506/0.0933, allocations: 371.1 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.09348, allocations: 103.4 kB / 486.2 MB, free: 15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.09363, allocations: 135.5 kB / 486.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.09382, allocations: 159.3 kB / 486.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.792e-05/0.09387, allocations: 28 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.09402, allocations: 103.9 kB / 486.6 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.09411, allocations: 71.75 kB / 486.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.09424, allocations: 147.1 kB / 486.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003394/0.09459, allocations: 358.8 kB / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.0946, allocations: 0 / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.0946, allocations: 0 / 487.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.09462, allocations: 4 kB / 487.2 MB, free: 14.01 MB / 366.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.0008269/0.09545, allocations: 0.6402 MB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.09549, allocations: 8.031 kB / 487.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.143e-05/0.09556, allocations: 40.47 kB / 487.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.09596, allocations: 327.4 kB / 488.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.09599, allocations: 16.38 kB / 488.2 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.09603, allocations: 20.31 kB / 488.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.09663, allocations: 296.3 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.09665, allocations: 4 kB / 488.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.652e-05/0.09668, allocations: 15.98 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.09669, allocations: 4 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005996/0.09729, allocations: 212.4 kB / 488.7 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.09839, allocations: 0.8289 MB / 489.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/0.0993, allocations: 331.7 kB / 489.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.09961, allocations: 146.5 kB / 490 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.09965, allocations: 7.984 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003888/0.1, allocations: 235.5 kB / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.383e-06/0.1001, allocations: 0 / 490.3 MB, free: 10.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=21): time 0.001025/0.1011, allocations: 454.9 kB / 490.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.054e-05/0.1012, allocations: 217.8 kB / 490.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.1014, allocations: 279 kB / 491.2 MB, free: 9.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.1015, allocations: 29.7 kB / 491.2 MB, free: 9.625 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1016, allocations: 176.2 kB / 491.4 MB, free: 9.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.1016, allocations: 71.05 kB / 491.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.152e-05/0.1017, allocations: 45.69 kB / 491.5 MB, free: 9.328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.1018, allocations: 338.8 kB / 491.8 MB, free: 8.988 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002906/0.1021, allocations: 120.8 kB / 492 MB, free: 8.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.1025, allocations: 191.5 kB / 492.1 MB, free: 8.652 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005519/0.103, allocations: 301.4 kB / 492.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.103, allocations: 0 / 492.4 MB, free: 8.336 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007264/0.1038, allocations: 390.7 kB / 492.8 MB, free: 7.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.1038, allocations: 41.72 kB / 492.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1038, allocations: 0 / 492.9 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1038, allocations: 4 kB / 492.9 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.1041, allocations: 47.95 kB / 492.9 MB, free: 7.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1041, allocations: 3.938 kB / 492.9 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1043, allocations: 39.81 kB / 492.9 MB, free: 7.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.1043, allocations: 16 kB / 493 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002384/0.1046, allocations: 184 kB / 493.1 MB, free: 7.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00021/0.1048, allocations: 143.7 kB / 493.3 MB, free: 7.434 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003527/0.1052, allocations: 238.1 kB / 493.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.1052, allocations: 0 / 493.5 MB, free: 7.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005013/0.1057, allocations: 318.8 kB / 493.8 MB, free: 6.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.1057, allocations: 33.69 kB / 493.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-06/0.1057, allocations: 4 kB / 493.9 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-06/0.1057, allocations: 0 / 493.9 MB, free: 6.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1059, allocations: 39.92 kB / 493.9 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1059, allocations: 4 kB / 493.9 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.1061, allocations: 31.81 kB / 493.9 MB, free: 6.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1061, allocations: 8 kB / 493.9 MB, free: 6.73 MB / 366.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.0001318/0.1063, allocations: 233.9 kB / 494.2 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1063, allocations: 31.7 kB / 494.2 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.1064, allocations: 30.2 kB / 494.2 MB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1064, allocations: 4 kB / 494.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1064, allocations: 0 / 494.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.1064, allocations: 0 / 494.2 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.1067, allocations: 349.2 kB / 494.6 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1067, allocations: 128 / 494.6 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002355/0.1069, allocations: 47.97 kB / 494.6 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.107, allocations: 4 kB / 494.6 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.107, allocations: 15.97 kB / 494.6 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.107, allocations: 3.938 kB / 494.7 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.107, allocations: 0 / 494.7 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1081, allocations: 0.5547 MB / 495.2 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.1081, allocations: 100.8 kB / 495.3 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.069e-05/0.1082, allocations: 20 kB / 495.3 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.1084, allocations: 31.91 kB / 495.4 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.1084, allocations: 11.98 kB / 495.4 MB, free: 5.199 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.1085, allocations: 11.98 kB / 495.4 MB, free: 5.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.1086, allocations: 198 kB / 495.6 MB, free: 4.992 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1087, allocations: 3.938 kB / 495.6 MB, free: 4.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003801/0.109, allocations: 115.7 kB / 495.7 MB, free: 4.875 MB / 366.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.0001653/0.1092, allocations: 130 kB / 495.8 MB, free: 4.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009445/0.1102, allocations: 0.5359 MB / 496.4 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1102, allocations: 0 / 496.4 MB, free: 4.184 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.1105, allocations: 219.2 kB / 496.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.1109, allocations: 65.72 kB / 496.6 MB, free: 3.895 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1119, allocations: 0.5784 MB / 497.2 MB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.1122, allocations: 0.7638 MB / 498 MB, free: 2.492 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.1124, allocations: 37.94 kB / 498 MB, free: 2.453 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.68e-05/0.1124, allocations: 27.44 kB / 498 MB, free: 2.426 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1124, allocations: 0 / 498 MB, free: 2.426 MB / 366.1 MB Notification: Performance of Templates: time 0.007225/0.1197, allocations: 4.151 MB / 0.4904 GB, free: 14.31 MB / 382.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=50 -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