Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.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.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="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|leadLagAnalyticSolution.y|leadLagNegativeGain.T1|leadLagNegativeGain.T2|leadLagNegativeGain.feedback_u.y|leadLagNegativeGain.feedback_y.y|leadLagNegativeGain.gain_dir.k|leadLagNegativeGain.gain_dir.u|leadLagNegativeGain.gain_dir.y|leadLagNegativeGain.gain_fb.k|leadLagNegativeGain.gain_fb.u|leadLagNegativeGain.gain_fb.y|leadLagNegativeGain.initType|leadLagNegativeGain.integ_fb.initType|leadLagNegativeGain.integ_fb.k|leadLagNegativeGain.integ_fb.u|leadLagNegativeGain.integ_fb.y|leadLagNegativeGain.integ_fb.y_start|leadLagNegativeGain.k|leadLagNegativeGain.limiter_y.homotopyType|leadLagNegativeGain.limiter_y.limitsAtInit|leadLagNegativeGain.limiter_y.strict|leadLagNegativeGain.limiter_y.u|leadLagNegativeGain.limiter_y.uMax|leadLagNegativeGain.limiter_y.uMin|leadLagNegativeGain.limiter_y.y|leadLagNegativeGain.strict|leadLagNegativeGain.u|leadLagNegativeGain.y|leadLagNegativeGain.yMax|leadLagNegativeGain.yMin|leadLagNegativeGain.yStart|leadLagPositiveGain.T1|leadLagPositiveGain.T2|leadLagPositiveGain.feedback_u.y|leadLagPositiveGain.feedback_y.y|leadLagPositiveGain.gain_dir.k|leadLagPositiveGain.gain_dir.u|leadLagPositiveGain.gain_dir.y|leadLagPositiveGain.gain_fb.k|leadLagPositiveGain.gain_fb.u|leadLagPositiveGain.gain_fb.y|leadLagPositiveGain.initType|leadLagPositiveGain.integ_fb.initType|leadLagPositiveGain.integ_fb.k|leadLagPositiveGain.integ_fb.u|leadLagPositiveGain.integ_fb.y|leadLagPositiveGain.integ_fb.y_start|leadLagPositiveGain.k|leadLagPositiveGain.limiter_y.homotopyType|leadLagPositiveGain.limiter_y.limitsAtInit|leadLagPositiveGain.limiter_y.strict|leadLagPositiveGain.limiter_y.u|leadLagPositiveGain.limiter_y.uMax|leadLagPositiveGain.limiter_y.uMin|leadLagPositiveGain.limiter_y.y|leadLagPositiveGain.strict|leadLagPositiveGain.u|leadLagPositiveGain.y|leadLagPositiveGain.yMax|leadLagPositiveGain.yMin|leadLagPositiveGain.yStart|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="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|leadLagAnalyticSolution.y|leadLagNegativeGain.T1|leadLagNegativeGain.T2|leadLagNegativeGain.feedback_u.y|leadLagNegativeGain.feedback_y.y|leadLagNegativeGain.gain_dir.k|leadLagNegativeGain.gain_dir.u|leadLagNegativeGain.gain_dir.y|leadLagNegativeGain.gain_fb.k|leadLagNegativeGain.gain_fb.u|leadLagNegativeGain.gain_fb.y|leadLagNegativeGain.initType|leadLagNegativeGain.integ_fb.initType|leadLagNegativeGain.integ_fb.k|leadLagNegativeGain.integ_fb.u|leadLagNegativeGain.integ_fb.y|leadLagNegativeGain.integ_fb.y_start|leadLagNegativeGain.k|leadLagNegativeGain.limiter_y.homotopyType|leadLagNegativeGain.limiter_y.limitsAtInit|leadLagNegativeGain.limiter_y.strict|leadLagNegativeGain.limiter_y.u|leadLagNegativeGain.limiter_y.uMax|leadLagNegativeGain.limiter_y.uMin|leadLagNegativeGain.limiter_y.y|leadLagNegativeGain.strict|leadLagNegativeGain.u|leadLagNegativeGain.y|leadLagNegativeGain.yMax|leadLagNegativeGain.yMin|leadLagNegativeGain.yStart|leadLagPositiveGain.T1|leadLagPositiveGain.T2|leadLagPositiveGain.feedback_u.y|leadLagPositiveGain.feedback_y.y|leadLagPositiveGain.gain_dir.k|leadLagPositiveGain.gain_dir.u|leadLagPositiveGain.gain_dir.y|leadLagPositiveGain.gain_fb.k|leadLagPositiveGain.gain_fb.u|leadLagPositiveGain.gain_fb.y|leadLagPositiveGain.initType|leadLagPositiveGain.integ_fb.initType|leadLagPositiveGain.integ_fb.k|leadLagPositiveGain.integ_fb.u|leadLagPositiveGain.integ_fb.y|leadLagPositiveGain.integ_fb.y_start|leadLagPositiveGain.k|leadLagPositiveGain.limiter_y.homotopyType|leadLagPositiveGain.limiter_y.limitsAtInit|leadLagPositiveGain.limiter_y.strict|leadLagPositiveGain.limiter_y.u|leadLagPositiveGain.limiter_y.uMax|leadLagPositiveGain.limiter_y.uMin|leadLagPositiveGain.limiter_y.y|leadLagPositiveGain.strict|leadLagPositiveGain.u|leadLagPositiveGain.y|leadLagPositiveGain.yMax|leadLagPositiveGain.yMin|leadLagPositiveGain.yStart|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001263/0.001262, allocations: 193.9 kB / 16.14 MB, free: 6.66 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.227/0.227, allocations: 16.79 MB / 306.7 MB, free: 14.95 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 55.91 kB / 373.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3466, allocations: 53.55 MB / 426.7 MB, free: 40.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.002981/0.3496, allocations: 2.153 MB / 428.8 MB, free: 39.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3509, allocations: 0.8457 MB / 429.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001387/0.351, allocations: 9.656 kB / 429.7 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.3513, allocations: 45 kB / 429.7 MB, free: 39.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.3515, allocations: 71.48 kB / 429.8 MB, free: 39.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.352, allocations: 201.1 kB / 430 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.3523, allocations: 287.8 kB / 430.3 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000192/0.3525, allocations: 102.5 kB / 430.4 MB, free: 39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.3526, allocations: 110.6 kB / 430.5 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.3528, allocations: 142.2 kB / 430.6 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.3528, allocations: 14 kB / 430.6 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.353, allocations: 82.55 kB / 430.7 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.3531, allocations: 53.41 kB / 430.8 MB, free: 38.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3532, allocations: 123.4 kB / 430.9 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.3535, allocations: 325 kB / 431.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3535, allocations: 0 / 431.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3535, allocations: 0 / 431.2 MB, free: 38.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.3535, allocations: 0 / 431.2 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0008976/0.3545, allocations: 0.6282 MB / 431.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3545, allocations: 8.156 kB / 431.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.777e-05/0.3546, allocations: 33.97 kB / 431.9 MB, free: 38.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3549, allocations: 315.1 kB / 432.2 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.3549, allocations: 20.98 kB / 432.2 MB, free: 37.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.355, allocations: 23.09 kB / 432.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.3555, allocations: 286 kB / 432.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3555, allocations: 7.703 kB / 432.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.3555, allocations: 14.62 kB / 432.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.3556, allocations: 4.844 kB / 432.5 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004258/0.356, allocations: 188.7 kB / 432.7 MB, free: 37.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/0.357, allocations: 0.9841 MB / 433.7 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.3576, allocations: 260.3 kB / 434 MB, free: 36.65 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.3578, allocations: 132.9 kB / 434.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.3579, allocations: 3.906 kB / 434.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.3583, allocations: 215.9 kB / 434.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.3583, allocations: 0 / 434.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008498/0.3592, allocations: 422.5 kB / 434.7 MB, free: 36.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.455e-05/0.3592, allocations: 164.1 kB / 434.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.3595, allocations: 277 kB / 435.2 MB, free: 35.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3595, allocations: 25.7 kB / 435.2 MB, free: 35.92 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.264e-05/0.3596, allocations: 175.2 kB / 435.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.585e-05/0.3597, allocations: 66.05 kB / 435.4 MB, free: 35.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.3597, allocations: 52.48 kB / 435.5 MB, free: 35.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.097e-05/0.3598, allocations: 345.2 kB / 435.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.36, allocations: 103 kB / 435.9 MB, free: 35.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.3603, allocations: 185.5 kB / 436.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004514/0.3608, allocations: 308.5 kB / 436.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3608, allocations: 0 / 436.4 MB, free: 35.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001142/0.3619, allocations: 0.5331 MB / 436.9 MB, free: 34.81 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.362, allocations: 42.58 kB / 437 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.362, allocations: 0 / 437 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003649/0.3624, allocations: 98.14 kB / 437.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.3625, allocations: 31.88 kB / 437.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/0.3661, allocations: 3.453 MB / 440.5 MB, free: 31.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.3664, allocations: 35.98 kB / 440.6 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.3664, allocations: 16.67 kB / 440.6 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002979/0.3667, allocations: 183.8 kB / 440.8 MB, free: 31.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001958/0.3669, allocations: 159 kB / 440.9 MB, free: 31.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002887/0.3672, allocations: 264.4 kB / 441.2 MB, free: 31.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.482e-06/0.3672, allocations: 0 / 441.2 MB, free: 31.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005444/0.3678, allocations: 388.5 kB / 441.6 MB, free: 31.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.3678, allocations: 39.14 kB / 441.6 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3678, allocations: 6.938 kB / 441.6 MB, free: 31.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001572/0.368, allocations: 79.52 kB / 441.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.3681, allocations: 28.59 kB / 441.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001651/0.3698, allocations: 3.009 MB / 444.7 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001974/0.37, allocations: 23.53 kB / 444.7 MB, free: 28.08 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.685e-05/0.37, allocations: 14.41 kB / 444.8 MB, free: 28.07 MB / 350.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,leadLagNegativeGain.integ_fb.local_reset,leadLagPositiveGain.integ_fb.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * 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,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001549/0.3702, allocations: 229.9 kB / 445 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.3703, allocations: 35.03 kB / 445 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.817e-05/0.3703, allocations: 27.97 kB / 445 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3704, allocations: 10.55 kB / 445.1 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3704, allocations: 0 / 445.1 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3704, allocations: 0 / 445.1 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.3707, allocations: 329.8 kB / 445.4 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3707, allocations: 7.938 kB / 445.4 MB, free: 27.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.3709, allocations: 45.62 kB / 445.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3709, allocations: 0 / 445.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.3709, allocations: 3 kB / 445.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.371, allocations: 7.25 kB / 445.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.371, allocations: 0 / 445.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000833/0.3718, allocations: 0.5127 MB / 446 MB, free: 27.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.041e-05/0.3719, allocations: 99.02 kB / 446.1 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.3719, allocations: 7.062 kB / 446.1 MB, free: 27.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3721, allocations: 26.56 kB / 446.1 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.3722, allocations: 17.11 kB / 446.1 MB, free: 27.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.3722, allocations: 10.06 kB / 446.1 MB, free: 27.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.3724, allocations: 194.4 kB / 446.3 MB, free: 27.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3724, allocations: 3.094 kB / 446.3 MB, free: 27.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006322/0.373, allocations: 117.9 kB / 446.4 MB, free: 27.04 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (leadLagPositiveGain.integ_fb.y,leadLagNegativeGain.integ_fb.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.0001864/0.3732, allocations: 138.7 kB / 446.6 MB, free: 26.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.3747, allocations: 1.082 MB / 447.6 MB, free: 26.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3747, allocations: 0 / 447.6 MB, free: 26.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002684/0.375, allocations: 208.4 kB / 447.8 MB, free: 26.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3753, allocations: 57.77 kB / 447.9 MB, free: 26.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.3767, allocations: 0.7272 MB / 448.6 MB, free: 25.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001996/0.3769, allocations: 0.774 MB / 449.4 MB, free: 24.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.377, allocations: 30.06 kB / 449.4 MB, free: 24.91 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.3771, allocations: 21.12 kB / 449.4 MB, free: 24.9 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3771, allocations: 0 / 449.4 MB, free: 24.9 MB / 350.1 MB Notification: Performance of Templates: time 0.008371/0.3855, allocations: 4.598 MB / 454 MB, free: 24.49 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches