Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_symb_jac_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_symb_jac_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.001515/0.001515, allocations: 111.2 kB / 16.42 MB, free: 6.504 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.001547/0.001547, allocations: 185.5 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06447/0.06447, allocations: 14.17 MB / 284.7 MB, free: 13.87 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 73.61 kB / 399.3 MB, free: 42.88 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08956, allocations: 50.13 MB / 449.4 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.003547/0.09315, allocations: 2.113 MB / 451.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001862/0.09504, allocations: 0.8774 MB / 452.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.09532, allocations: 4 kB / 452.4 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.09562, allocations: 59.56 kB / 452.5 MB, free: 8.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.09598, allocations: 87.47 kB / 452.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008244/0.09682, allocations: 235.3 kB / 452.8 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.0974, allocations: 323.2 kB / 453.1 MB, free: 7.977 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002456/0.09766, allocations: 119.3 kB / 453.2 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.09789, allocations: 127.5 kB / 453.3 MB, free: 7.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003035/0.0982, allocations: 151.4 kB / 453.5 MB, free: 7.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.046e-05/0.09828, allocations: 28 kB / 453.5 MB, free: 7.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.0985, allocations: 103.9 kB / 453.6 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.09863, allocations: 71.69 kB / 453.7 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001464/0.09878, allocations: 127.3 kB / 453.8 MB, free: 7.262 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005283/0.09932, allocations: 354.5 kB / 454.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.09934, allocations: 4 kB / 454.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.09934, allocations: 3.938 kB / 454.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.09936, allocations: 0 / 454.1 MB, free: 6.906 MB / 334.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.001255/0.1006, allocations: 0.64 MB / 454.8 MB, free: 6.211 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1007, allocations: 8.031 kB / 454.8 MB, free: 6.203 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.1008, allocations: 40.7 kB / 454.8 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005703/0.1014, allocations: 331.7 kB / 455.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.1014, allocations: 12.38 kB / 455.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.383e-05/0.1015, allocations: 24.38 kB / 455.2 MB, free: 5.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005674/0.102, allocations: 296.3 kB / 455.5 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1021, allocations: 3.938 kB / 455.5 MB, free: 5.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1021, allocations: 12 kB / 455.5 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.1021, allocations: 4 kB / 455.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004719/0.1026, allocations: 192.4 kB / 455.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.1038, allocations: 0.9789 MB / 456.7 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006641/0.1045, allocations: 257.1 kB / 456.9 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002685/0.1048, allocations: 133.7 kB / 457.1 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1048, allocations: 7.969 kB / 457.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004011/0.1052, allocations: 220.7 kB / 457.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.1053, allocations: 0 / 457.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009489/0.1062, allocations: 427.1 kB / 457.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.1063, allocations: 162.3 kB / 457.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.1066, allocations: 278.6 kB / 458.1 MB, free: 2.629 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.1066, allocations: 33.7 kB / 458.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.1068, allocations: 164.4 kB / 458.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.1068, allocations: 75.42 kB / 458.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.1069, allocations: 49.7 kB / 458.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1071, allocations: 342.7 kB / 458.8 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002673/0.1073, allocations: 108.8 kB / 458.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.1077, allocations: 182.2 kB / 459.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005373/0.1082, allocations: 304.9 kB / 459.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1083, allocations: 0 / 459.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001366/0.1096, allocations: 0.5395 MB / 459.9 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.359e-05/0.1097, allocations: 45.69 kB / 459.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1097, allocations: 0 / 459.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003889/0.1101, allocations: 97.66 kB / 460 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.1103, allocations: 31.91 kB / 460.1 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.1149, allocations: 3.806 MB / 463.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/0.1151, allocations: 35.86 kB / 463.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.1152, allocations: 12.06 kB / 463.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002632/0.1154, allocations: 188.1 kB / 464.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002149/0.1157, allocations: 154.2 kB / 464.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003528/0.116, allocations: 256.4 kB / 464.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.116, allocations: 3.938 kB / 464.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006701/0.1167, allocations: 400.4 kB / 464.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.1168, allocations: 37.7 kB / 464.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.1168, allocations: 4 kB / 464.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002021/0.117, allocations: 77.83 kB / 465 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1171, allocations: 31.91 kB / 465 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.1197, allocations: 3.348 MB / 468.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.12, allocations: 27.88 kB / 468.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.12, allocations: 16.23 kB / 468.4 MB, free: 7.531 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.0001837/0.1202, allocations: 230 kB / 468.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.753e-05/0.1202, allocations: 35.75 kB / 468.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.1203, allocations: 34.17 kB / 468.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1203, allocations: 0 / 468.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1203, allocations: 0 / 468.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1203, allocations: 4 kB / 468.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/0.1207, allocations: 329.3 kB / 469.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1207, allocations: 0 / 469.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.121, allocations: 47.83 kB / 469.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.121, allocations: 8 kB / 469.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.121, allocations: 8 kB / 469.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.121, allocations: 0 / 469.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.121, allocations: 0 / 469.1 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/0.1262, allocations: 3.314 MB / 472.4 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.1263, allocations: 104.9 kB / 472.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.1264, allocations: 7.938 kB / 472.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.1266, allocations: 28.03 kB / 472.6 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.759e-05/0.1266, allocations: 11.98 kB / 472.6 MB, free: 3.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.566e-05/0.1267, allocations: 11.98 kB / 472.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002046/0.1269, allocations: 194 kB / 472.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1269, allocations: 0 / 472.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009446/0.1278, allocations: 183.7 kB / 473 MB, free: 2.746 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.0002402/0.1281, allocations: 123.2 kB / 473.1 MB, free: 2.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001891/0.13, allocations: 1.098 MB / 474.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.13, allocations: 0 / 474.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.1304, allocations: 207.6 kB / 474.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1308, allocations: 67.98 kB / 474.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.1325, allocations: 0.9011 MB / 475.4 MB, free: 216 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.1329, allocations: 0.7795 MB / 476.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.1331, allocations: 29.94 kB / 476.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.461e-05/0.1331, allocations: 23.44 kB / 476.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1331, allocations: 0 / 476.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01096/0.1441, allocations: 5.639 MB / 481.8 MB, free: 9.719 MB / 366.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1) diffSimulationResults("PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches