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.0009197/0.0009197, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006751/0.006751, allocations: 170.3 kB / 16.26 MB, free: 6.613 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1719/0.1719, allocations: 16.76 MB / 308.2 MB, free: 15.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002722/0.0002723, allocations: 8 kB / 375.6 MB, free: 1.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2246/0.2249, allocations: 54.55 MB / 430.1 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.001639/0.2266, allocations: 1.786 MB / 431.9 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.2276, allocations: 0.8475 MB / 432.8 MB, free: 38.87 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.2277, allocations: 6.906 kB / 432.8 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001443/0.2279, allocations: 45.95 kB / 432.8 MB, free: 38.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.228, allocations: 64.42 kB / 432.9 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003845/0.2284, allocations: 207.2 kB / 433.1 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.2287, allocations: 289 kB / 433.4 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.2288, allocations: 97.98 kB / 433.5 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.2289, allocations: 102.6 kB / 433.6 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.229, allocations: 127.1 kB / 433.7 MB, free: 38.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.666e-05/0.2291, allocations: 8.875 kB / 433.7 MB, free: 38.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.2292, allocations: 77.53 kB / 433.8 MB, free: 38.67 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.2292, allocations: 48.27 kB / 433.8 MB, free: 38.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.053e-05/0.2293, allocations: 132.2 kB / 434 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.2296, allocations: 316.7 kB / 434.3 MB, free: 38.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2296, allocations: 0 / 434.3 MB, free: 38.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2296, allocations: 0 / 434.3 MB, free: 38.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2296, allocations: 0 / 434.3 MB, free: 38.51 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.0006298/0.2303, allocations: 0.5804 MB / 434.8 MB, free: 38.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.822e-05/0.2303, allocations: 8.125 kB / 434.9 MB, free: 38.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.2304, allocations: 35.31 kB / 434.9 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.2306, allocations: 316.2 kB / 435.2 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.2307, allocations: 18.73 kB / 435.2 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.2307, allocations: 25.33 kB / 435.2 MB, free: 37.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000446/0.2312, allocations: 300.2 kB / 435.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.2312, allocations: 0 / 435.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.2312, allocations: 6.562 kB / 435.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.2312, allocations: 5.562 kB / 435.5 MB, free: 37.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004481/0.2317, allocations: 206 kB / 435.7 MB, free: 37.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.2325, allocations: 0.9928 MB / 436.7 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006068/0.2331, allocations: 290.3 kB / 437 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/0.2334, allocations: 144.7 kB / 437.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2334, allocations: 4 kB / 437.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003376/0.2338, allocations: 217.4 kB / 437.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.312e-06/0.2338, allocations: 0 / 437.4 MB, free: 36.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008361/0.2346, allocations: 457.3 kB / 437.8 MB, free: 36.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.2347, allocations: 158.1 kB / 438 MB, free: 36.08 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.2349, allocations: 266.1 kB / 438.2 MB, free: 35.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.2349, allocations: 32.67 kB / 438.3 MB, free: 35.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.235, allocations: 170.7 kB / 438.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/0.235, allocations: 65.56 kB / 438.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.2351, allocations: 36.88 kB / 438.5 MB, free: 35.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.2351, allocations: 345.6 kB / 438.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.2354, allocations: 99.36 kB / 439 MB, free: 35.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.2356, allocations: 193.9 kB / 439.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.2361, allocations: 322.7 kB / 439.5 MB, free: 35 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2361, allocations: 0 / 439.5 MB, free: 35 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001242/0.2374, allocations: 0.6112 MB / 440.1 MB, free: 34.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.028e-05/0.2374, allocations: 158.8 kB / 440.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.2374, allocations: 4.125 kB / 440.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/0.2378, allocations: 111.8 kB / 440.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.2379, allocations: 38.03 kB / 440.4 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003476/0.2414, allocations: 3.603 MB / 444 MB, free: 31.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.2417, allocations: 41.23 kB / 444 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2417, allocations: 11.64 kB / 444 MB, free: 31.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.341e-06/0.2417, allocations: 2.812 kB / 444 MB, free: 31.52 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005335/0.2422, allocations: 363.9 kB / 444.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.2423, allocations: 3.156 kB / 444.4 MB, free: 31.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001502/0.2424, allocations: 77.75 kB / 444.5 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.2426, allocations: 24.94 kB / 444.5 MB, free: 31.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.244, allocations: 3.025 MB / 447.5 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.2442, allocations: 27.39 kB / 447.6 MB, free: 28.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.2442, allocations: 10 kB / 447.6 MB, free: 28.37 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.0001541/0.2444, allocations: 256 kB / 447.8 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.2444, allocations: 31.38 kB / 447.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.2445, allocations: 31.33 kB / 447.9 MB, free: 28.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.2445, allocations: 6.969 kB / 447.9 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.2445, allocations: 0 / 447.9 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.2445, allocations: 3.188 kB / 447.9 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.2447, allocations: 335.2 kB / 448.2 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2447, allocations: 4 kB / 448.2 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.245, allocations: 44.06 kB / 448.3 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.245, allocations: 3.344 kB / 448.3 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.096e-05/0.245, allocations: 18.31 kB / 448.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.245, allocations: 0 / 448.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.245, allocations: 0 / 448.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008368/0.2459, allocations: 0.5264 MB / 448.8 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.013e-05/0.2459, allocations: 110.9 kB / 448.9 MB, free: 27.47 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.246, allocations: 11.22 kB / 448.9 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.2461, allocations: 19.47 kB / 449 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.2462, allocations: 17.23 kB / 449 MB, free: 27.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2462, allocations: 6.375 kB / 449 MB, free: 27.46 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.2464, allocations: 198.9 kB / 449.2 MB, free: 27.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.02e-07/0.2464, allocations: 0 / 449.2 MB, free: 27.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005894/0.247, allocations: 133.9 kB / 449.3 MB, free: 27.31 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.0001536/0.2471, allocations: 135.9 kB / 449.4 MB, free: 27.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.2486, allocations: 1.137 MB / 450.6 MB, free: 26.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2486, allocations: 0 / 450.6 MB, free: 26.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002761/0.2489, allocations: 211.5 kB / 450.8 MB, free: 26.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2493, allocations: 55.86 kB / 450.8 MB, free: 26.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.2506, allocations: 0.7947 MB / 451.6 MB, free: 25.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001569/0.2508, allocations: 0.766 MB / 452.4 MB, free: 25.2 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001203/0.2509, allocations: 34.77 kB / 452.4 MB, free: 25.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.251, allocations: 23.95 kB / 452.4 MB, free: 25.18 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.251, allocations: 0 / 452.4 MB, free: 25.18 MB / 350.1 MB Notification: Performance of Templates: time 0.007241/0.2582, allocations: 4.551 MB / 457 MB, free: 24.79 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=50 -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