Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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_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_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.0016/0.0016, allocations: 108 kB / 15.61 MB, free: 152 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.001535/0.001535, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.531/1.531, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06517/0.06517, allocations: 14.17 MB / 283.9 MB, free: 7.09 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.00161/0.001611, allocations: 72.33 kB / 347.2 MB, free: 17.29 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.105, allocations: 50.13 MB / 397.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.004233/0.1093, allocations: 2.108 MB / 399.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.1111, allocations: 0.8852 MB / 400.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.1114, allocations: 11.94 kB / 400.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002916/0.1117, allocations: 55.56 kB / 400.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003841/0.1121, allocations: 87.47 kB / 400.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008135/0.113, allocations: 247.3 kB / 400.7 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.1135, allocations: 303.3 kB / 401 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002495/0.1137, allocations: 107.3 kB / 401.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.1139, allocations: 123.5 kB / 401.2 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002873/0.1142, allocations: 155.3 kB / 401.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.029e-05/0.1143, allocations: 24 kB / 401.4 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000191/0.1145, allocations: 99.92 kB / 401.5 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1146, allocations: 63.72 kB / 401.5 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1148, allocations: 139.2 kB / 401.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.1152, allocations: 342.9 kB / 402 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1152, allocations: 0 / 402 MB, free: 10.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1153, allocations: 0 / 402 MB, free: 10.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.1153, allocations: 0 / 402 MB, free: 10.39 MB / 302.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.001134/0.1164, allocations: 0.6325 MB / 402.6 MB, free: 9.699 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1165, allocations: 8.031 kB / 402.7 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.1166, allocations: 36.47 kB / 402.7 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/0.117, allocations: 315.5 kB / 403 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.1171, allocations: 16.38 kB / 403 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.1171, allocations: 20.38 kB / 403 MB, free: 9.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.1177, allocations: 300.3 kB / 403.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1177, allocations: 3.938 kB / 403.3 MB, free: 8.945 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.1178, allocations: 8 kB / 403.3 MB, free: 8.938 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.1178, allocations: 8 kB / 403.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.1183, allocations: 184.5 kB / 403.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.1196, allocations: 0.9944 MB / 404.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007172/0.1203, allocations: 261 kB / 404.8 MB, free: 7.414 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.1206, allocations: 137.7 kB / 404.9 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.1207, allocations: 0 / 404.9 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005272/0.1212, allocations: 210.7 kB / 405.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.1212, allocations: 0 / 405.1 MB, free: 7.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001041/0.1222, allocations: 418.7 kB / 405.5 MB, free: 6.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/0.1224, allocations: 166.3 kB / 405.7 MB, free: 6.422 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.1227, allocations: 274.8 kB / 406 MB, free: 6.133 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.1227, allocations: 29.7 kB / 406 MB, free: 6.098 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1229, allocations: 176.2 kB / 406.2 MB, free: 5.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.1229, allocations: 59.11 kB / 406.2 MB, free: 5.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.1231, allocations: 57.69 kB / 406.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1232, allocations: 342.8 kB / 406.6 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.1235, allocations: 100.8 kB / 406.7 MB, free: 5.355 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.1238, allocations: 187 kB / 406.9 MB, free: 5.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.1244, allocations: 308.3 kB / 407.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1244, allocations: 0 / 407.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001397/0.1258, allocations: 0.5314 MB / 407.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.1259, allocations: 41.81 kB / 407.8 MB, free: 4.207 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.1259, allocations: 4 kB / 407.8 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003923/0.1263, allocations: 93.66 kB / 407.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.1265, allocations: 43.91 kB / 407.9 MB, free: 4.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.1313, allocations: 3.807 MB / 411.7 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.1316, allocations: 39.8 kB / 411.7 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.1317, allocations: 11.98 kB / 411.8 MB, free: 15.93 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002825/0.132, allocations: 180.1 kB / 411.9 MB, free: 15.75 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00023/0.1322, allocations: 162.3 kB / 412.1 MB, free: 15.55 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003776/0.1326, allocations: 268.3 kB / 412.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.1326, allocations: 3.938 kB / 412.4 MB, free: 15.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007116/0.1333, allocations: 395.5 kB / 412.7 MB, free: 14.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.111e-05/0.1334, allocations: 37.7 kB / 412.8 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1334, allocations: 4 kB / 412.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/0.1336, allocations: 69.67 kB / 412.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1337, allocations: 31.97 kB / 412.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/0.1366, allocations: 3.355 MB / 416.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002511/0.1369, allocations: 27.83 kB / 416.3 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.1369, allocations: 12 kB / 416.3 MB, free: 11.03 MB / 318.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.0002452/0.1372, allocations: 239 kB / 416.5 MB, free: 10.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.993e-05/0.1373, allocations: 31.66 kB / 416.5 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.1374, allocations: 30.17 kB / 416.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1374, allocations: 0 / 416.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1374, allocations: 0 / 416.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.1374, allocations: 0 / 416.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.1378, allocations: 333.3 kB / 416.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.1378, allocations: 0 / 416.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002486/0.1381, allocations: 51.83 kB / 416.9 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.1381, allocations: 8 kB / 417 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.1381, allocations: 3.984 kB / 417 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1381, allocations: 7.984 kB / 417 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1381, allocations: 0 / 417 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.1391, allocations: 0.519 MB / 417.5 MB, free: 9.734 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.1392, allocations: 96.77 kB / 417.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.1393, allocations: 8 kB / 417.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.1395, allocations: 23.97 kB / 417.6 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.853e-05/0.1395, allocations: 19.92 kB / 417.6 MB, free: 9.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-05/0.1396, allocations: 4.062 kB / 417.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.1398, allocations: 202 kB / 417.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1398, allocations: 0 / 417.8 MB, free: 9.367 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006724/0.1405, allocations: 123.8 kB / 418 MB, free: 9.246 MB / 318.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.0002437/0.1407, allocations: 134.8 kB / 418.1 MB, free: 9.105 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001876/0.1426, allocations: 1.087 MB / 419.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.1426, allocations: 0 / 419.2 MB, free: 7.941 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.143, allocations: 215.1 kB / 419.4 MB, free: 7.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1434, allocations: 58.84 kB / 419.4 MB, free: 7.664 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.145, allocations: 0.6512 MB / 420.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1454, allocations: 0.7678 MB / 420.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.1455, allocations: 25.94 kB / 420.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.421e-05/0.1456, allocations: 19.44 kB / 420.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1456, allocations: 4 kB / 420.9 MB, free: 6.137 MB / 318.1 MB Notification: Performance of Templates: time 0.01036/0.1559, allocations: 4.932 MB / 425.8 MB, free: 1.215 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches