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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 216.5 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.396/1.396, allocations: 230.6 MB / 256 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07922/0.07922, allocations: 16.96 MB / 329.4 MB, free: 2.684 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,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") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 59.91 kB / 462.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1115, allocations: 57.75 MB / 0.5084 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.003754/0.1153, allocations: 2.124 MB / 0.5105 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.1169, allocations: 0.8647 MB / 0.5113 GB, free: 2.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.1171, allocations: 7.938 kB / 0.5113 GB, free: 2.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.1173, allocations: 63.56 kB / 0.5114 GB, free: 2.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1176, allocations: 75.55 kB / 0.5115 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006085/0.1182, allocations: 242 kB / 0.5117 GB, free: 2.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.1185, allocations: 311.3 kB / 0.512 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1187, allocations: 75.73 kB / 0.5121 GB, free: 2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.1189, allocations: 131.5 kB / 0.5122 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.1191, allocations: 159.3 kB / 0.5123 GB, free: 1.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.748e-05/0.1192, allocations: 28 kB / 0.5124 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1193, allocations: 95.94 kB / 0.5125 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.1194, allocations: 67.75 kB / 0.5125 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.1196, allocations: 131.2 kB / 0.5126 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004318/0.12, allocations: 358.5 kB / 0.513 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.12, allocations: 0 / 0.513 GB, free: 1.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.12, allocations: 0 / 0.513 GB, free: 1.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.12, allocations: 4 kB / 0.513 GB, free: 1.043 MB / 382.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.0009272/0.1209, allocations: 0.5569 MB / 0.5135 GB, free: 460 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.121, allocations: 11.97 kB / 0.5136 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.215e-05/0.121, allocations: 36.75 kB / 0.5136 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004585/0.1215, allocations: 261.4 kB / 0.5138 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1215, allocations: 12.38 kB / 0.5138 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.993e-05/0.1216, allocations: 24.33 kB / 0.5139 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.211/0.3326, allocations: 285.8 kB / 0.5141 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.3326, allocations: 1.859 kB / 0.5141 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.787e-05/0.3327, allocations: 10.09 kB / 0.5142 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.3327, allocations: 4.938 kB / 0.5142 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.3332, allocations: 188.8 kB / 0.5143 GB, free: 16.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.3343, allocations: 0.9409 MB / 0.5153 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.3349, allocations: 251.1 kB / 0.5155 GB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.3352, allocations: 124.2 kB / 0.5156 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.3352, allocations: 3.156 kB / 0.5156 GB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003507/0.3356, allocations: 210.8 kB / 0.5158 GB, free: 15.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.492e-06/0.3356, allocations: 1.094 kB / 0.5158 GB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009025/0.3365, allocations: 426.5 kB / 0.5162 GB, free: 15.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.3365, allocations: 158 kB / 0.5164 GB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.3368, allocations: 274 kB / 0.5166 GB, free: 15.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3368, allocations: 32.02 kB / 0.5167 GB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.3369, allocations: 168.7 kB / 0.5168 GB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.321e-05/0.3369, allocations: 74.64 kB / 0.5169 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.337, allocations: 56.41 kB / 0.517 GB, free: 14.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.744e-05/0.337, allocations: 336.5 kB / 0.5173 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.3372, allocations: 104.8 kB / 0.5174 GB, free: 14.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.3375, allocations: 185.9 kB / 0.5176 GB, free: 14.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.3379, allocations: 306.4 kB / 0.5178 GB, free: 14.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3379, allocations: 0 / 0.5178 GB, free: 14.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001083/0.3389, allocations: 0.5437 MB / 0.5184 GB, free: 14.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.339, allocations: 35.39 kB / 0.5184 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.339, allocations: 2.094 kB / 0.5184 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/0.3393, allocations: 98.5 kB / 0.5185 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.3395, allocations: 34.23 kB / 0.5185 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/0.3425, allocations: 3.505 MB / 0.522 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.3427, allocations: 39.8 kB / 0.522 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.3427, allocations: 7.688 kB / 0.522 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002105/0.343, allocations: 186.5 kB / 0.5222 GB, free: 11.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001734/0.3431, allocations: 160 kB / 0.5223 GB, free: 11.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002909/0.3434, allocations: 265 kB / 0.5226 GB, free: 11.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.182e-06/0.3434, allocations: 1.406 kB / 0.5226 GB, free: 11.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0005516/0.344, allocations: 382.7 kB / 0.523 GB, free: 10.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.344, allocations: 38.3 kB / 0.523 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/0.344, allocations: 160 / 0.523 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.3442, allocations: 77.2 kB / 0.5231 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3443, allocations: 36.75 kB / 0.5231 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.346, allocations: 3.125 MB / 0.5262 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.3462, allocations: 28.31 kB / 0.5262 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3462, allocations: 11.88 kB / 0.5262 GB, free: 7.879 MB / 382.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.0001386/0.3463, allocations: 237.7 kB / 0.5264 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.3464, allocations: 34.31 kB / 0.5265 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.3464, allocations: 29.53 kB / 0.5265 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3464, allocations: 2.344 kB / 0.5265 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3465, allocations: 4.562 kB / 0.5265 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3465, allocations: 2.953 kB / 0.5265 GB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.3467, allocations: 300.4 kB / 0.5268 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3467, allocations: 2.25 kB / 0.5268 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.347, allocations: 49.84 kB / 0.5268 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.347, allocations: 1.438 kB / 0.5268 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.347, allocations: 5.391 kB / 0.5268 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.347, allocations: 1.344 kB / 0.5268 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.347, allocations: 0 / 0.5268 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/0.3478, allocations: 0.5118 MB / 0.5273 GB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.511e-05/0.3479, allocations: 26.41 kB / 0.5274 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.3479, allocations: 8.781 kB / 0.5274 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.3481, allocations: 25.69 kB / 0.5274 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.809e-05/0.3482, allocations: 18.81 kB / 0.5274 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.3482, allocations: 12.92 kB / 0.5274 GB, free: 7.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.3484, allocations: 193.2 kB / 0.5276 GB, free: 7.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3484, allocations: 4.594 kB / 0.5276 GB, free: 7.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006157/0.349, allocations: 118.6 kB / 0.5277 GB, free: 7 MB / 382.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.0001695/0.3492, allocations: 136 kB / 0.5279 GB, free: 6.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.3504, allocations: 0.9551 MB / 0.5288 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3504, allocations: 5.344 kB / 0.5288 GB, free: 6.203 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.3507, allocations: 173.4 kB / 0.529 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.3511, allocations: 54.98 kB / 0.529 GB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.3523, allocations: 0.6285 MB / 0.5296 GB, free: 5.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.3525, allocations: 0.7701 MB / 0.5304 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001198/0.3527, allocations: 34.91 kB / 0.5304 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.272e-05/0.3527, allocations: 23.22 kB / 0.5304 GB, free: 5.055 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3527, allocations: 4 kB / 0.5304 GB, free: 5.051 MB / 382.1 MB Notification: Performance of Templates: time 0.0113/0.364, allocations: 5.226 MB / 0.5355 GB, free: 4.637 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=50 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1) [Timeout 50] 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) [Timeout 660] "Error: Could not read variable leadLagNegativeGain.limiter_y.limitsAtInit in file PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat. Warning: Get data of variable leadLagNegativeGain.limiter_y.limitsAtInit from file PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat failed! Error: Could not read variable leadLagPositiveGain.limiter_y.limitsAtInit in file PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat. Warning: Get data of variable leadLagPositiveGain.limiter_y.limitsAtInit from file PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.916101844981313]