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.005637/0.005637, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001553/0.001553, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1982/0.1982, allocations: 16.79 MB / 307.3 MB, free: 14.72 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.06 kB / 428.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1084, allocations: 53.57 MB / 482.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.002886/0.1113, allocations: 2.098 MB / 484.4 MB, free: 7.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1128, allocations: 0.8302 MB / 485.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001549/0.113, allocations: 8.938 kB / 485.2 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002301/0.1132, allocations: 63.06 kB / 485.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1135, allocations: 75.92 kB / 485.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.114, allocations: 244.9 kB / 485.6 MB, free: 6.461 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.1143, allocations: 314.3 kB / 485.9 MB, free: 6.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001782/0.1145, allocations: 116.5 kB / 486 MB, free: 6.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1147, allocations: 118.3 kB / 486.1 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1148, allocations: 158 kB / 486.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.378e-05/0.1149, allocations: 27.5 kB / 486.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.115, allocations: 99.05 kB / 486.4 MB, free: 5.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.179e-05/0.1151, allocations: 68.08 kB / 486.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.1153, allocations: 132.1 kB / 486.6 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.1156, allocations: 356.2 kB / 486.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1157, allocations: 1.031 kB / 486.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1157, allocations: 0 / 486.9 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.1157, allocations: 0 / 486.9 MB, free: 5.566 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.0008348/0.1165, allocations: 0.6316 MB / 487.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1166, allocations: 9.875 kB / 487.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.637e-05/0.1166, allocations: 46.69 kB / 487.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/0.1171, allocations: 324 kB / 487.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1171, allocations: 13.22 kB / 487.9 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.1171, allocations: 22.5 kB / 488 MB, free: 4.637 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005223/0.1177, allocations: 297.7 kB / 488.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1177, allocations: 1.125 kB / 488.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.8e-05/0.1177, allocations: 10.62 kB / 488.3 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.1177, allocations: 8.75 kB / 488.3 MB, free: 4.398 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.1182, allocations: 193.6 kB / 488.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009883/0.1192, allocations: 0.9733 MB / 489.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000582/0.1198, allocations: 265 kB / 489.7 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002284/0.1201, allocations: 129.7 kB / 489.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1201, allocations: 4 kB / 489.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003457/0.1204, allocations: 215.4 kB / 490 MB, free: 2.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.044e-06/0.1205, allocations: 0 / 490 MB, free: 2.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008339/0.1213, allocations: 412.4 kB / 490.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.1214, allocations: 170.3 kB / 490.6 MB, free: 2.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.1216, allocations: 266.7 kB / 490.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1216, allocations: 29.7 kB / 490.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.1217, allocations: 176.6 kB / 491.1 MB, free: 1.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.53e-05/0.1217, allocations: 67.39 kB / 491.1 MB, free: 1.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.1218, allocations: 57.69 kB / 491.2 MB, free: 1.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.1219, allocations: 338.8 kB / 491.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002093/0.1221, allocations: 104.8 kB / 491.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.1224, allocations: 186.2 kB / 491.8 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004098/0.1228, allocations: 304.9 kB / 492.1 MB, free: 436 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1228, allocations: 7.938 kB / 492.1 MB, free: 428 kB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001177/0.124, allocations: 0.543 MB / 492.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.124, allocations: 41.81 kB / 492.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.124, allocations: 3.938 kB / 492.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/0.1245, allocations: 97.66 kB / 492.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.1246, allocations: 31.97 kB / 492.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004553/0.1292, allocations: 3.824 MB / 496.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002577/0.1295, allocations: 31.88 kB / 496.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.1295, allocations: 12.05 kB / 496.7 MB, free: 11.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002582/0.1298, allocations: 184.1 kB / 496.9 MB, free: 11.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002177/0.13, allocations: 162.2 kB / 497 MB, free: 11.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003679/0.1304, allocations: 260.4 kB / 497.3 MB, free: 10.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/0.1304, allocations: 3.938 kB / 497.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0006912/0.1311, allocations: 389.2 kB / 497.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.1312, allocations: 41.69 kB / 497.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1312, allocations: 96 / 497.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.1314, allocations: 77.83 kB / 497.8 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.1315, allocations: 31.97 kB / 497.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.1342, allocations: 3.344 MB / 0.4894 GB, free: 6.684 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002137/0.1344, allocations: 27.91 kB / 0.4894 GB, free: 6.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.1344, allocations: 12 kB / 0.4895 GB, free: 6.645 MB / 366.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.0001932/0.1346, allocations: 227.2 kB / 0.4897 GB, free: 6.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.545e-05/0.1347, allocations: 43.83 kB / 0.4897 GB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.307e-05/0.1348, allocations: 30.17 kB / 0.4897 GB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1348, allocations: 0 / 0.4897 GB, free: 6.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.1348, allocations: 4 kB / 0.4897 GB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.1348, allocations: 0 / 0.4897 GB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.1352, allocations: 329.3 kB / 0.4901 GB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.1352, allocations: 0 / 0.4901 GB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/0.1354, allocations: 47.83 kB / 0.4901 GB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1354, allocations: 4 kB / 0.4901 GB, free: 5.914 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.1355, allocations: 15.94 kB / 0.4901 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1355, allocations: 0 / 0.4901 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1355, allocations: 0 / 0.4901 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009661/0.1364, allocations: 0.514 MB / 0.4906 GB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.707e-05/0.1365, allocations: 97 kB / 0.4907 GB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.1366, allocations: 8 kB / 0.4907 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.1367, allocations: 16.03 kB / 0.4907 GB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.072e-05/0.1368, allocations: 27.86 kB / 0.4908 GB, free: 5.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.1368, allocations: 12 kB / 0.4908 GB, free: 5.184 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001797/0.137, allocations: 194 kB / 0.491 GB, free: 4.996 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.137, allocations: 4.062 kB / 0.491 GB, free: 4.992 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006355/0.1377, allocations: 127.7 kB / 0.4911 GB, free: 4.867 MB / 366.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.0001832/0.1379, allocations: 123.2 kB / 0.4912 GB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001704/0.1396, allocations: 1.093 MB / 0.4923 GB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1396, allocations: 0 / 0.4923 GB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003177/0.1399, allocations: 207.3 kB / 0.4925 GB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.1403, allocations: 55.38 kB / 0.4925 GB, free: 3.309 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.1417, allocations: 0.6464 MB / 0.4932 GB, free: 2.629 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/0.1421, allocations: 0.7678 MB / 0.4939 GB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.1422, allocations: 29.94 kB / 0.4939 GB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.239e-05/0.1423, allocations: 23.44 kB / 0.494 GB, free: 1.785 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1423, allocations: 0 / 0.494 GB, free: 1.785 MB / 366.1 MB Notification: Performance of Templates: time 0.009434/0.1517, allocations: 4.986 MB / 0.4988 GB, free: 12.81 MB / 382.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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches