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.001644/0.001644, allocations: 100.1 kB / 15.88 MB, free: 12 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.00208/0.00208, allocations: 199.2 kB / 16.8 MB, free: 6.828 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.875/1.875, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2488/0.2488, allocations: 16.78 MB / 307.4 MB, free: 14.98 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.00199, allocations: 59.91 kB / 373.8 MB, free: 2.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5703/0.5723, allocations: 53.55 MB / 427.3 MB, free: 40.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.003694/0.5761, allocations: 2.149 MB / 429.5 MB, free: 39.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001556/0.5777, allocations: 0.847 MB / 430.3 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.5778, allocations: 6.656 kB / 430.3 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.5781, allocations: 51.98 kB / 430.4 MB, free: 39.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.5784, allocations: 57.64 kB / 430.4 MB, free: 39.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.5789, allocations: 207.1 kB / 430.7 MB, free: 38.98 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000317/0.5792, allocations: 290.5 kB / 430.9 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.5795, allocations: 101 kB / 431 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001387/0.5796, allocations: 113.2 kB / 431.1 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.5798, allocations: 134.6 kB / 431.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.69e-05/0.5799, allocations: 14.5 kB / 431.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.5801, allocations: 87.83 kB / 431.4 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.5802, allocations: 57.11 kB / 431.4 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.5803, allocations: 113.5 kB / 431.5 MB, free: 38.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.5806, allocations: 255.8 kB / 431.8 MB, free: 38.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5806, allocations: 0 / 431.8 MB, free: 38.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5806, allocations: 0 / 431.8 MB, free: 38.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.5807, allocations: 0 / 431.8 MB, free: 38.47 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.0009948/0.5817, allocations: 0.625 MB / 432.4 MB, free: 37.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.5817, allocations: 12.5 kB / 432.4 MB, free: 37.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.999e-05/0.5818, allocations: 36.19 kB / 432.5 MB, free: 37.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.5822, allocations: 317.5 kB / 432.8 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.5822, allocations: 16.27 kB / 432.8 MB, free: 37.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.573e-05/0.5823, allocations: 25.97 kB / 432.8 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.5829, allocations: 289.2 kB / 433.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.5829, allocations: 0 / 433.1 MB, free: 37.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.5829, allocations: 10.94 kB / 433.1 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/0.5829, allocations: 5.75 kB / 433.1 MB, free: 37.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004473/0.5834, allocations: 192.5 kB / 433.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.5845, allocations: 0.976 MB / 434.3 MB, free: 36.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.5852, allocations: 263.3 kB / 434.5 MB, free: 36.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.5854, allocations: 132.6 kB / 434.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.5855, allocations: 6.781 kB / 434.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005106/0.586, allocations: 216.2 kB / 434.9 MB, free: 36.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.586, allocations: 0 / 434.9 MB, free: 36.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009643/0.587, allocations: 420.9 kB / 435.3 MB, free: 36.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.5871, allocations: 167.3 kB / 435.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.5874, allocations: 270.1 kB / 435.7 MB, free: 35.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.947e-05/0.5874, allocations: 32.48 kB / 435.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.5875, allocations: 169.9 kB / 435.9 MB, free: 35.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.095e-05/0.5876, allocations: 73.05 kB / 436 MB, free: 35.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/0.5877, allocations: 52.08 kB / 436 MB, free: 35.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.5878, allocations: 338.3 kB / 436.4 MB, free: 35.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002388/0.5881, allocations: 105.8 kB / 436.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.5884, allocations: 191.1 kB / 436.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004908/0.5889, allocations: 304.3 kB / 437 MB, free: 34.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5889, allocations: 0 / 437 MB, free: 34.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001229/0.5901, allocations: 0.5345 MB / 437.5 MB, free: 34.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.098e-05/0.5902, allocations: 33.8 kB / 437.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.5902, allocations: 2.594 kB / 437.5 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004132/0.5906, allocations: 107.9 kB / 437.6 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.5908, allocations: 32.77 kB / 437.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003913/0.5947, allocations: 3.452 MB / 441.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.595, allocations: 41.97 kB / 441.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.63e-05/0.595, allocations: 11.41 kB / 441.2 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002585/0.5953, allocations: 179.8 kB / 441.3 MB, free: 31.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002083/0.5955, allocations: 158.2 kB / 441.5 MB, free: 31.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003448/0.5959, allocations: 266.7 kB / 441.8 MB, free: 31.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.362e-06/0.5959, allocations: 0 / 441.8 MB, free: 31.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006214/0.5965, allocations: 382.6 kB / 442.1 MB, free: 30.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/0.5966, allocations: 36.62 kB / 442.2 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.5966, allocations: 2.656 kB / 442.2 MB, free: 30.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001917/0.5968, allocations: 77.66 kB / 442.2 MB, free: 30.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5969, allocations: 33.92 kB / 442.3 MB, free: 30.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001821/0.5987, allocations: 3.007 MB / 445.3 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.599, allocations: 27.91 kB / 445.3 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.599, allocations: 14.5 kB / 445.3 MB, free: 27.92 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.0001887/0.5992, allocations: 226.3 kB / 445.6 MB, free: 27.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.5992, allocations: 32.22 kB / 445.6 MB, free: 27.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.184e-05/0.5993, allocations: 31.41 kB / 445.6 MB, free: 27.67 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.5993, allocations: 6.906 kB / 445.6 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5993, allocations: 0 / 445.6 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5994, allocations: 3.516 kB / 445.6 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.5997, allocations: 332.8 kB / 445.9 MB, free: 27.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.5997, allocations: 11.81 kB / 446 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/0.5999, allocations: 43.75 kB / 446 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6, allocations: 0 / 446 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.579e-05/0.6, allocations: 6.219 kB / 446 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.6, allocations: 0 / 446 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6, allocations: 4.125 kB / 446 MB, free: 27.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.6009, allocations: 0.5094 MB / 446.5 MB, free: 27.15 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-05/0.601, allocations: 106.6 kB / 446.6 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/0.601, allocations: 7.031 kB / 446.6 MB, free: 27.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.6012, allocations: 22.52 kB / 446.7 MB, free: 27.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.6013, allocations: 14.08 kB / 446.7 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.6013, allocations: 14.44 kB / 446.7 MB, free: 27.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000182/0.6015, allocations: 191.7 kB / 446.9 MB, free: 26.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6015, allocations: 0 / 446.9 MB, free: 26.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006736/0.6022, allocations: 117.7 kB / 447 MB, free: 26.89 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.0002358/0.6025, allocations: 138 kB / 447.1 MB, free: 26.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001623/0.6041, allocations: 1.086 MB / 448.2 MB, free: 26.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6041, allocations: 3.406 kB / 448.2 MB, free: 26.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002785/0.6044, allocations: 207.3 kB / 448.4 MB, free: 25.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.6048, allocations: 57.03 kB / 448.5 MB, free: 25.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/0.6063, allocations: 0.7609 MB / 449.2 MB, free: 25.45 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.6066, allocations: 0.7686 MB / 450 MB, free: 24.74 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.6067, allocations: 20.16 kB / 450 MB, free: 24.73 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.6067, allocations: 0 / 450 MB, free: 24.73 MB / 350.1 MB Notification: Performance of Templates: time 0.007655/0.6143, allocations: 4.809 MB / 454.8 MB, free: 24.23 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