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.001685/0.001685, 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.002036/0.002036, allocations: 194.2 kB / 16.14 MB, free: 6.656 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.221/0.221, allocations: 16.79 MB / 306.8 MB, free: 14.98 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 60.09 kB / 373.1 MB, free: 2.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2614, allocations: 53.55 MB / 426.7 MB, free: 40.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.002698/0.2642, allocations: 2.151 MB / 428.8 MB, free: 39.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001186/0.2654, allocations: 0.839 MB / 429.7 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001261/0.2655, allocations: 9.25 kB / 429.7 MB, free: 39.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.2657, allocations: 52.83 kB / 429.7 MB, free: 39.37 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.266, allocations: 63.27 kB / 429.8 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004626/0.2664, allocations: 211.1 kB / 430 MB, free: 39.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002522/0.2667, allocations: 283.6 kB / 430.3 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001895/0.2669, allocations: 101.4 kB / 430.4 MB, free: 39.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.267, allocations: 120.5 kB / 430.5 MB, free: 39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.2672, allocations: 138.3 kB / 430.6 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.275e-05/0.2673, allocations: 13.03 kB / 430.7 MB, free: 38.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.2674, allocations: 85.91 kB / 430.7 MB, free: 38.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.836e-05/0.2675, allocations: 53.08 kB / 430.8 MB, free: 38.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.2676, allocations: 117.5 kB / 430.9 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.2679, allocations: 325.4 kB / 431.2 MB, free: 38.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2679, allocations: 0 / 431.2 MB, free: 38.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2679, allocations: 4 kB / 431.2 MB, free: 38.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.2679, allocations: 0 / 431.2 MB, free: 38.66 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.0008454/0.2688, allocations: 0.6295 MB / 431.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.2688, allocations: 11.66 kB / 431.9 MB, free: 38.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.711e-05/0.2689, allocations: 34.03 kB / 431.9 MB, free: 38.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003532/0.2693, allocations: 313.6 kB / 432.2 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.2693, allocations: 21.42 kB / 432.2 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.2693, allocations: 17.78 kB / 432.2 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004537/0.2698, allocations: 296.3 kB / 432.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2698, allocations: 0 / 432.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.452e-05/0.2699, allocations: 10.81 kB / 432.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.2699, allocations: 5.344 kB / 432.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.2703, allocations: 183.5 kB / 432.7 MB, free: 37.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008893/0.2712, allocations: 0.9834 MB / 433.7 MB, free: 36.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005792/0.2718, allocations: 264.7 kB / 434 MB, free: 36.7 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.272, allocations: 145.1 kB / 434.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.272, allocations: 0 / 434.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004057/0.2725, allocations: 216.5 kB / 434.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.2725, allocations: 0 / 434.3 MB, free: 36.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.000857/0.2733, allocations: 427 kB / 434.7 MB, free: 36.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.2734, allocations: 163.2 kB / 434.9 MB, free: 36.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.2736, allocations: 269.9 kB / 435.2 MB, free: 36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2736, allocations: 32.61 kB / 435.2 MB, free: 35.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.321e-05/0.2737, allocations: 164.6 kB / 435.4 MB, free: 35.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.525e-05/0.2738, allocations: 68.5 kB / 435.4 MB, free: 35.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-05/0.2739, allocations: 50.62 kB / 435.5 MB, free: 35.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/0.274, allocations: 346.5 kB / 435.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.2742, allocations: 101.9 kB / 435.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.2744, allocations: 187.3 kB / 436.1 MB, free: 35.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004154/0.2748, allocations: 310.4 kB / 436.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.2748, allocations: 0 / 436.4 MB, free: 35.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001088/0.2759, allocations: 0.5301 MB / 436.9 MB, free: 34.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.276, allocations: 41.73 kB / 437 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.276, allocations: 0 / 437 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003415/0.2764, allocations: 97.38 kB / 437.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.2765, allocations: 37.44 kB / 437.1 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.2799, allocations: 3.455 MB / 440.6 MB, free: 31.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.2801, allocations: 40.97 kB / 440.6 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.2802, allocations: 7.719 kB / 440.6 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002336/0.2804, allocations: 183.1 kB / 440.8 MB, free: 31.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000168/0.2806, allocations: 164.5 kB / 440.9 MB, free: 31.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002722/0.2809, allocations: 260.9 kB / 441.2 MB, free: 31.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.024e-06/0.2809, allocations: 0 / 441.2 MB, free: 31.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005181/0.2814, allocations: 386.2 kB / 441.6 MB, free: 31.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.2814, allocations: 41.61 kB / 441.6 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-06/0.2814, allocations: 0 / 441.6 MB, free: 31.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.2816, allocations: 71.41 kB / 441.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.2817, allocations: 34.14 kB / 441.7 MB, free: 31.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.2833, allocations: 3.001 MB / 444.7 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.2835, allocations: 35.22 kB / 444.8 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.846e-05/0.2835, allocations: 14.55 kB / 444.8 MB, free: 28.12 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.0001374/0.2836, allocations: 237.9 kB / 445 MB, free: 27.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.2837, allocations: 34.75 kB / 445 MB, free: 27.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.2838, allocations: 27.31 kB / 445.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2838, allocations: 3.125 kB / 445.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.2838, allocations: 0 / 445.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2838, allocations: 3.281 kB / 445.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.284, allocations: 332.8 kB / 445.4 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.284, allocations: 3.938 kB / 445.4 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.2843, allocations: 43.16 kB / 445.4 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2843, allocations: 3.375 kB / 445.4 MB, free: 27.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.2843, allocations: 7.281 kB / 445.4 MB, free: 27.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2843, allocations: 0 / 445.4 MB, free: 27.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2843, allocations: 0 / 445.4 MB, free: 27.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007787/0.2851, allocations: 0.5091 MB / 446 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.2852, allocations: 106 kB / 446.1 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.2852, allocations: 7.375 kB / 446.1 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000166/0.2854, allocations: 24.03 kB / 446.1 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.716e-05/0.2854, allocations: 21.61 kB / 446.1 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.2855, allocations: 9.844 kB / 446.1 MB, free: 27.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.2856, allocations: 189 kB / 446.3 MB, free: 27.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2856, allocations: 3.406 kB / 446.3 MB, free: 27.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006175/0.2862, allocations: 124.3 kB / 446.4 MB, free: 27.08 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.0001779/0.2864, allocations: 132.9 kB / 446.6 MB, free: 26.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.2878, allocations: 1.09 MB / 447.6 MB, free: 26.22 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2879, allocations: 3.219 kB / 447.7 MB, free: 26.22 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002597/0.2881, allocations: 197.8 kB / 447.8 MB, free: 26.11 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000368/0.2885, allocations: 61.69 kB / 447.9 MB, free: 26.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2897, allocations: 0.7308 MB / 448.6 MB, free: 25.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2899, allocations: 0.7646 MB / 449.4 MB, free: 24.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.29, allocations: 32.52 kB / 449.4 MB, free: 24.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.7e-05/0.2901, allocations: 17.44 kB / 449.4 MB, free: 24.95 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2901, allocations: 0 / 449.4 MB, free: 24.95 MB / 350.1 MB Notification: Performance of Templates: time 0.007911/0.298, allocations: 4.601 MB / 454 MB, free: 24.53 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