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.0009339/0.0009341, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.252/1.252, allocations: 223.3 MB / 241 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1681/0.1681, allocations: 16.76 MB / 308.9 MB, free: 15.47 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002721/0.0002721, allocations: 8 kB / 376.2 MB, free: 1.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2222, allocations: 54.56 MB / 430.8 MB, free: 40 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.00173/0.224, allocations: 1.786 MB / 432.6 MB, free: 39.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.2253, allocations: 0.8293 MB / 433.4 MB, free: 39.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.2254, allocations: 11.78 kB / 433.4 MB, free: 39.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.2256, allocations: 47.98 kB / 433.5 MB, free: 39.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.2258, allocations: 64.08 kB / 433.5 MB, free: 39.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004762/0.2263, allocations: 203.3 kB / 433.7 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.2265, allocations: 290.2 kB / 434 MB, free: 39.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.2267, allocations: 99.38 kB / 434.1 MB, free: 39.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.869e-05/0.2268, allocations: 101.8 kB / 434.2 MB, free: 39.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.2269, allocations: 123 kB / 434.3 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.227, allocations: 9.75 kB / 434.3 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2271, allocations: 77.91 kB / 434.4 MB, free: 39.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.533e-05/0.2272, allocations: 51.69 kB / 434.5 MB, free: 39.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.905e-05/0.2272, allocations: 137 kB / 434.6 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.2274, allocations: 238.5 kB / 434.8 MB, free: 39.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2274, allocations: 0 / 434.8 MB, free: 39.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2274, allocations: 0 / 434.8 MB, free: 39.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.2274, allocations: 0 / 434.8 MB, free: 39.04 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.0006243/0.2281, allocations: 0.5769 MB / 435.4 MB, free: 38.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.86e-05/0.2281, allocations: 8.531 kB / 435.4 MB, free: 38.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.168e-05/0.2282, allocations: 45.66 kB / 435.5 MB, free: 38.51 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.2284, allocations: 316.1 kB / 435.8 MB, free: 38.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2285, allocations: 17.3 kB / 435.8 MB, free: 38.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/0.2285, allocations: 22.91 kB / 435.8 MB, free: 38.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.229, allocations: 298.1 kB / 436.1 MB, free: 38.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.229, allocations: 4 kB / 436.1 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.229, allocations: 10.94 kB / 436.1 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.229, allocations: 5.781 kB / 436.1 MB, free: 38.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.2295, allocations: 207.6 kB / 436.3 MB, free: 37.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008344/0.2303, allocations: 0.9894 MB / 437.3 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005974/0.2309, allocations: 283 kB / 437.6 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.2312, allocations: 143.4 kB / 437.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2312, allocations: 0 / 437.7 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003301/0.2315, allocations: 220 kB / 438 MB, free: 36.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.242e-06/0.2316, allocations: 0 / 438 MB, free: 36.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008147/0.2324, allocations: 448.1 kB / 438.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2324, allocations: 169.2 kB / 438.6 MB, free: 36.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.2326, allocations: 263.4 kB / 438.8 MB, free: 36.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.2326, allocations: 32.58 kB / 438.8 MB, free: 36.37 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.045e-05/0.2327, allocations: 171.5 kB / 439 MB, free: 36.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.2328, allocations: 66.2 kB / 439.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.2328, allocations: 29.17 kB / 439.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.2329, allocations: 345.2 kB / 439.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.2331, allocations: 113.9 kB / 439.6 MB, free: 35.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.2334, allocations: 194 kB / 439.7 MB, free: 35.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004537/0.2338, allocations: 317.6 kB / 440.1 MB, free: 35.47 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2338, allocations: 4 kB / 440.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001211/0.235, allocations: 0.6015 MB / 440.7 MB, free: 35.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.2351, allocations: 159 kB / 440.8 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2351, allocations: 6.75 kB / 440.8 MB, free: 35.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003178/0.2354, allocations: 111.8 kB / 440.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.2356, allocations: 37.19 kB / 441 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003367/0.239, allocations: 3.62 MB / 444.6 MB, free: 32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2392, allocations: 38.03 kB / 444.6 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.2392, allocations: 12.12 kB / 444.6 MB, free: 31.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/0.2392, allocations: 5.781 kB / 444.6 MB, free: 31.98 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005232/0.2398, allocations: 362.3 kB / 445 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.2398, allocations: 0 / 445 MB, free: 31.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001429/0.2399, allocations: 70.91 kB / 445.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.2401, allocations: 32.34 kB / 445.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001426/0.2415, allocations: 3.016 MB / 448.1 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.2417, allocations: 32.31 kB / 448.1 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.2417, allocations: 10.34 kB / 448.2 MB, free: 28.83 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.0001398/0.2419, allocations: 259.1 kB / 448.4 MB, free: 28.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.84e-05/0.2419, allocations: 27.59 kB / 448.4 MB, free: 28.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.85e-05/0.242, allocations: 28.09 kB / 448.5 MB, free: 28.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.242, allocations: 7.156 kB / 448.5 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.242, allocations: 0 / 448.5 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.242, allocations: 3.219 kB / 448.5 MB, free: 28.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002034/0.2422, allocations: 326.6 kB / 448.8 MB, free: 28.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2422, allocations: 7.219 kB / 448.8 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/0.2424, allocations: 49.84 kB / 448.8 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2424, allocations: 3.938 kB / 448.8 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.2425, allocations: 10.5 kB / 448.9 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2425, allocations: 3.219 kB / 448.9 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2425, allocations: 0 / 448.9 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008254/0.2433, allocations: 0.5309 MB / 449.4 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.2433, allocations: 102.4 kB / 449.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.2434, allocations: 7.125 kB / 449.5 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.2436, allocations: 37.55 kB / 449.5 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.2436, allocations: 13.52 kB / 449.6 MB, free: 27.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.2437, allocations: 13.39 kB / 449.6 MB, free: 27.92 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.2438, allocations: 193.5 kB / 449.8 MB, free: 27.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2438, allocations: 3.312 kB / 449.8 MB, free: 27.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005618/0.2444, allocations: 126.7 kB / 449.9 MB, free: 27.78 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.0001392/0.2445, allocations: 134.4 kB / 450 MB, free: 27.67 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.2459, allocations: 1.144 MB / 451.2 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.246, allocations: 0 / 451.2 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.2462, allocations: 212.1 kB / 451.4 MB, free: 26.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2466, allocations: 50.62 kB / 451.4 MB, free: 26.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.2479, allocations: 0.8249 MB / 452.2 MB, free: 26.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.248, allocations: 0.7712 MB / 453 MB, free: 25.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.375e-05/0.2481, allocations: 23.66 kB / 453 MB, free: 25.61 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2481, allocations: 0 / 453 MB, free: 25.61 MB / 350.1 MB Notification: Performance of Templates: time 0.005321/0.2534, allocations: 4.774 MB / 457.8 MB, free: 25.14 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches