Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="firstOrderAnalyticSolution.y|firstOrderNegativeGain.G.k|firstOrderNegativeGain.G.u|firstOrderNegativeGain.G.y|firstOrderNegativeGain.Gk.k|firstOrderNegativeGain.Gk.u|firstOrderNegativeGain.Gk.y|firstOrderNegativeGain.I.initType|firstOrderNegativeGain.I.k|firstOrderNegativeGain.I.u|firstOrderNegativeGain.I.y|firstOrderNegativeGain.I.y_start|firstOrderNegativeGain.T|firstOrderNegativeGain.feedback.y|firstOrderNegativeGain.initType|firstOrderNegativeGain.k|firstOrderNegativeGain.lim.homotopyType|firstOrderNegativeGain.lim.limitsAtInit|firstOrderNegativeGain.lim.strict|firstOrderNegativeGain.lim.u|firstOrderNegativeGain.lim.uMax|firstOrderNegativeGain.lim.uMin|firstOrderNegativeGain.lim.y|firstOrderNegativeGain.strict|firstOrderNegativeGain.u|firstOrderNegativeGain.y|firstOrderNegativeGain.yMax|firstOrderNegativeGain.yMin|firstOrderNegativeGain.yStart|firstOrderPositiveGain.G.k|firstOrderPositiveGain.G.u|firstOrderPositiveGain.G.y|firstOrderPositiveGain.Gk.k|firstOrderPositiveGain.Gk.u|firstOrderPositiveGain.Gk.y|firstOrderPositiveGain.I.initType|firstOrderPositiveGain.I.k|firstOrderPositiveGain.I.u|firstOrderPositiveGain.I.y|firstOrderPositiveGain.I.y_start|firstOrderPositiveGain.T|firstOrderPositiveGain.feedback.y|firstOrderPositiveGain.initType|firstOrderPositiveGain.k|firstOrderPositiveGain.lim.homotopyType|firstOrderPositiveGain.lim.limitsAtInit|firstOrderPositiveGain.lim.strict|firstOrderPositiveGain.lim.u|firstOrderPositiveGain.lim.uMax|firstOrderPositiveGain.lim.uMin|firstOrderPositiveGain.lim.y|firstOrderPositiveGain.strict|firstOrderPositiveGain.u|firstOrderPositiveGain.y|firstOrderPositiveGain.yMax|firstOrderPositiveGain.yMin|firstOrderPositiveGain.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|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="firstOrderAnalyticSolution.y|firstOrderNegativeGain.G.k|firstOrderNegativeGain.G.u|firstOrderNegativeGain.G.y|firstOrderNegativeGain.Gk.k|firstOrderNegativeGain.Gk.u|firstOrderNegativeGain.Gk.y|firstOrderNegativeGain.I.initType|firstOrderNegativeGain.I.k|firstOrderNegativeGain.I.u|firstOrderNegativeGain.I.y|firstOrderNegativeGain.I.y_start|firstOrderNegativeGain.T|firstOrderNegativeGain.feedback.y|firstOrderNegativeGain.initType|firstOrderNegativeGain.k|firstOrderNegativeGain.lim.homotopyType|firstOrderNegativeGain.lim.limitsAtInit|firstOrderNegativeGain.lim.strict|firstOrderNegativeGain.lim.u|firstOrderNegativeGain.lim.uMax|firstOrderNegativeGain.lim.uMin|firstOrderNegativeGain.lim.y|firstOrderNegativeGain.strict|firstOrderNegativeGain.u|firstOrderNegativeGain.y|firstOrderNegativeGain.yMax|firstOrderNegativeGain.yMin|firstOrderNegativeGain.yStart|firstOrderPositiveGain.G.k|firstOrderPositiveGain.G.u|firstOrderPositiveGain.G.y|firstOrderPositiveGain.Gk.k|firstOrderPositiveGain.Gk.u|firstOrderPositiveGain.Gk.y|firstOrderPositiveGain.I.initType|firstOrderPositiveGain.I.k|firstOrderPositiveGain.I.u|firstOrderPositiveGain.I.y|firstOrderPositiveGain.I.y_start|firstOrderPositiveGain.T|firstOrderPositiveGain.feedback.y|firstOrderPositiveGain.initType|firstOrderPositiveGain.k|firstOrderPositiveGain.lim.homotopyType|firstOrderPositiveGain.lim.limitsAtInit|firstOrderPositiveGain.lim.strict|firstOrderPositiveGain.lim.u|firstOrderPositiveGain.lim.uMax|firstOrderPositiveGain.lim.uMin|firstOrderPositiveGain.lim.y|firstOrderPositiveGain.strict|firstOrderPositiveGain.u|firstOrderPositiveGain.y|firstOrderPositiveGain.yMax|firstOrderPositiveGain.yMin|firstOrderPositiveGain.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|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00467/0.00467, allocations: 103.5 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.001011/0.001011, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.176/0.176, allocations: 16.79 MB / 307.3 MB, free: 14.77 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 64.58 kB / 428.7 MB, free: 36.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08297/0.08423, allocations: 53.57 MB / 482.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.002496/0.08677, allocations: 2.019 MB / 484.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.08783, allocations: 0.8284 MB / 485.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.08795, allocations: 9.438 kB / 485.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001656/0.08812, allocations: 50.75 kB / 485.2 MB, free: 6.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001781/0.08831, allocations: 77.55 kB / 485.2 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.08877, allocations: 246.4 kB / 485.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002508/0.08903, allocations: 309.6 kB / 485.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001362/0.08918, allocations: 80.55 kB / 485.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001101/0.08929, allocations: 120.9 kB / 486 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.08946, allocations: 147.5 kB / 486.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.83e-05/0.0895, allocations: 24.53 kB / 486.2 MB, free: 6.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.08964, allocations: 106.5 kB / 486.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.08972, allocations: 63.27 kB / 486.3 MB, free: 6.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.183e-05/0.08981, allocations: 132.5 kB / 486.5 MB, free: 5.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.0901, allocations: 334 kB / 486.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.09012, allocations: 0.9688 kB / 486.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.09012, allocations: 0 / 486.8 MB, free: 5.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.09013, allocations: 0 / 486.8 MB, free: 5.664 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000709/0.09085, allocations: 0.6093 MB / 487.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.09088, allocations: 8.625 kB / 487.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.09096, allocations: 33.03 kB / 487.4 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.09128, allocations: 315.1 kB / 487.7 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.0913, allocations: 16.44 kB / 487.8 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/0.09135, allocations: 16.62 kB / 487.8 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005134/0.09187, allocations: 309.1 kB / 488.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.09189, allocations: 0 / 488.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.09192, allocations: 7.219 kB / 488.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.09193, allocations: 4.5 kB / 488.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.09249, allocations: 231.6 kB / 488.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008337/0.09333, allocations: 0.9664 MB / 489.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.09397, allocations: 300.9 kB / 489.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.09426, allocations: 153.8 kB / 489.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.09429, allocations: 4 kB / 489.7 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.09466, allocations: 235.4 kB / 490 MB, free: 2.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.09467, allocations: 0 / 490 MB, free: 2.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009842/0.09566, allocations: 492.1 kB / 490.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.09571, allocations: 162.2 kB / 490.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.09588, allocations: 250.8 kB / 490.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.09591, allocations: 33.7 kB / 490.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.099e-05/0.09599, allocations: 164.2 kB / 491 MB, free: 1.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.09604, allocations: 74.95 kB / 491.1 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.09612, allocations: 49.69 kB / 491.2 MB, free: 1.449 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.09617, allocations: 338.8 kB / 491.5 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002792/0.09646, allocations: 132.8 kB / 491.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002915/0.09676, allocations: 208.4 kB / 491.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005132/0.09728, allocations: 332.8 kB / 492.1 MB, free: 396 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.09729, allocations: 4 kB / 492.1 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001575/0.09887, allocations: 0.6756 MB / 492.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.09892, allocations: 33.7 kB / 492.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.09893, allocations: 3.938 kB / 492.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004243/0.09936, allocations: 129.7 kB / 493 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.09957, allocations: 39.95 kB / 493 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004671/0.1043, allocations: 3.956 MB / 497 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.1045, allocations: 35.81 kB / 497 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.1045, allocations: 12.06 kB / 497 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002521/0.1048, allocations: 184.1 kB / 497.2 MB, free: 11.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002053/0.105, allocations: 152.5 kB / 497.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003354/0.1054, allocations: 252.5 kB / 497.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.905e-06/0.1054, allocations: 4 kB / 497.6 MB, free: 10.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005062/0.1059, allocations: 323.6 kB / 497.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.1059, allocations: 39.88 kB / 498 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1059, allocations: 4 kB / 498 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-06/0.1059, allocations: 0 / 498 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.1062, allocations: 63.89 kB / 498 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.1062, allocations: 7.938 kB / 498 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.1064, allocations: 35.89 kB / 498.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1064, allocations: 4 kB / 498.1 MB, free: 10.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (inputSignal.nextEventScaled,inputSignal.nextEvent,$PRE.inputSignal.nextEvent,inputSignal.last,inputSignal.b,inputSignal.a,$whenCondition1,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.1066, allocations: 235.2 kB / 498.3 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.1066, allocations: 31.61 kB / 498.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.989e-05/0.1067, allocations: 34.17 kB / 498.4 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1067, allocations: 7.938 kB / 498.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.1067, allocations: 0 / 498.4 MB, free: 9.754 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1067, allocations: 3.984 kB / 498.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.107, allocations: 333.3 kB / 498.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.107, allocations: 0 / 498.7 MB, free: 9.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.1073, allocations: 51.94 kB / 498.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1074, allocations: 0 / 498.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.637e-05/0.1074, allocations: 15.92 kB / 498.8 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.1074, allocations: 7.938 kB / 498.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1074, allocations: 0 / 498.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1085, allocations: 0.5724 MB / 499.3 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1086, allocations: 100.7 kB / 499.4 MB, free: 8.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.1087, allocations: 12 kB / 499.5 MB, free: 8.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.1088, allocations: 27.97 kB / 499.5 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.704e-05/0.1089, allocations: 27.95 kB / 499.5 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/0.109, allocations: 8 kB / 499.5 MB, free: 8.512 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1091, allocations: 190 kB / 499.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1091, allocations: 0 / 499.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004989/0.1096, allocations: 111.8 kB / 499.8 MB, free: 8.219 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.I.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 (17): * Single equations (assignments): 16 * 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.0001895/0.1098, allocations: 131.2 kB / 499.9 MB, free: 8.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00153/0.1114, allocations: 0.8806 MB / 0.4891 GB, free: 7.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1114, allocations: 0 / 0.4891 GB, free: 7.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005178/0.1119, allocations: 235.2 kB / 0.4893 GB, free: 6.906 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004923/0.1124, allocations: 50.58 kB / 0.4894 GB, free: 6.859 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009244/0.1134, allocations: 0.525 MB / 0.4899 GB, free: 6.309 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.1137, allocations: 0.7597 MB / 0.4906 GB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001243/0.1138, allocations: 25.95 kB / 0.4906 GB, free: 5.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.1139, allocations: 31.42 kB / 0.4907 GB, free: 5.465 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1139, allocations: 0 / 0.4907 GB, free: 5.465 MB / 366.1 MB Notification: Performance of Templates: time 0.008872/0.1227, allocations: 5.33 MB / 0.4959 GB, free: 148 kB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches