Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,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|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,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|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.00179/0.00179, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.303/1.303, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06236/0.06236, allocations: 14.17 MB / 284.8 MB, free: 13.86 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.001579/0.001579, allocations: 73.02 kB / 399.3 MB, free: 42.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07477/0.07635, allocations: 50.13 MB / 449.4 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.003279/0.07968, allocations: 1.876 MB / 451.3 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001532/0.08124, allocations: 0.819 MB / 452.1 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.08141, allocations: 7.938 kB / 452.1 MB, free: 8.848 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.08164, allocations: 47.69 kB / 452.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.08179, allocations: 59.62 kB / 452.2 MB, free: 8.742 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.08247, allocations: 227.1 kB / 452.4 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000375/0.08285, allocations: 263.3 kB / 452.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.08299, allocations: 44.28 kB / 452.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.08316, allocations: 95.67 kB / 452.8 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.08336, allocations: 127.5 kB / 452.9 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.08342, allocations: 20 kB / 453 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.08359, allocations: 95.92 kB / 453.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.46e-05/0.08368, allocations: 43.78 kB / 453.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.08379, allocations: 99.41 kB / 453.2 MB, free: 7.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.08417, allocations: 271.2 kB / 453.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.08418, allocations: 0 / 453.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08419, allocations: 0 / 453.5 MB, free: 7.484 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.08421, allocations: 0 / 453.5 MB, free: 7.484 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001023/0.08524, allocations: 0.578 MB / 454 MB, free: 6.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.08529, allocations: 8.031 kB / 454.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.589e-05/0.08538, allocations: 32.66 kB / 454.1 MB, free: 6.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.08588, allocations: 298.7 kB / 454.4 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.08591, allocations: 12.38 kB / 454.4 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.08596, allocations: 12.38 kB / 454.4 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006527/0.08662, allocations: 261.4 kB / 454.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.08664, allocations: 0 / 454.7 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.449e-05/0.08667, allocations: 8 kB / 454.7 MB, free: 6.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.08668, allocations: 4 kB / 454.7 MB, free: 6.16 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007209/0.08741, allocations: 227.7 kB / 454.9 MB, free: 5.938 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.08859, allocations: 0.8689 MB / 455.8 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008854/0.08949, allocations: 288.9 kB / 456 MB, free: 4.699 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.08989, allocations: 141.7 kB / 456.2 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.08993, allocations: 7.984 kB / 456.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.09044, allocations: 232.1 kB / 456.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=16): time 2.856e-06/0.09046, allocations: 0 / 456.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.00139/0.09185, allocations: 482.7 kB / 456.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.09194, allocations: 162.2 kB / 457 MB, free: 3.617 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.09218, allocations: 248.9 kB / 457.3 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.09221, allocations: 29.7 kB / 457.3 MB, free: 3.332 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.09232, allocations: 140.3 kB / 457.5 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.385e-05/0.09237, allocations: 51.3 kB / 457.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.231e-05/0.09246, allocations: 49.7 kB / 457.6 MB, free: 3.082 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.0926, allocations: 334.8 kB / 457.9 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004002/0.093, allocations: 132.7 kB / 458 MB, free: 2.613 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.09345, allocations: 182.8 kB / 458.2 MB, free: 2.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007905/0.09425, allocations: 335.9 kB / 458.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.09426, allocations: 0 / 458.5 MB, free: 2.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009738/0.09524, allocations: 406.8 kB / 458.9 MB, free: 1.645 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.413e-05/0.09529, allocations: 37.69 kB / 458.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.09531, allocations: 0 / 458.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.09533, allocations: 7.938 kB / 459 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.09565, allocations: 55.94 kB / 459 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.09566, allocations: 8.125 kB / 459 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.09592, allocations: 43.81 kB / 459.1 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.09595, allocations: 11.98 kB / 459.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002197/0.09617, allocations: 164.1 kB / 459.2 MB, free: 1.312 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001814/0.09636, allocations: 133.3 kB / 459.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003397/0.09671, allocations: 238.1 kB / 459.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.423e-06/0.09672, allocations: 0 / 459.6 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0004837/0.09721, allocations: 291.1 kB / 459.9 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.922e-05/0.09725, allocations: 37.69 kB / 459.9 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.09726, allocations: 4 kB / 459.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.352e-06/0.09727, allocations: 4 kB / 459.9 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.09745, allocations: 39.91 kB / 460 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.09746, allocations: 4 kB / 460 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.09762, allocations: 19.83 kB / 460 MB, free: 484 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.09765, allocations: 12 kB / 460 MB, free: 472 kB / 334.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,integrator2.I.local_reset,integrator1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 prepare postOptimizeDAE: time 0.0001501/0.0978, allocations: 237.9 kB / 460.2 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/0.09786, allocations: 23.72 kB / 460.3 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.09793, allocations: 33.95 kB / 460.3 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.09794, allocations: 0 / 460.3 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.09795, allocations: 7.938 kB / 460.3 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.825e-05/0.09802, allocations: 96.83 kB / 460.4 MB, free: 32 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.09807, allocations: 8 kB / 460.4 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.09838, allocations: 43.94 kB / 460.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-05/0.09847, allocations: 27.97 kB / 460.5 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001246/0.09973, allocations: 0.6049 MB / 461.1 MB, free: 15.32 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00148/0.1012, allocations: 0.7765 MB / 461.8 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000429/0.1017, allocations: 160 kB / 462 MB, free: 14.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.1018, allocations: 180.5 kB / 462.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Backend: time 5.21e-07/0.1018, allocations: 0 / 462.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.1031, allocations: 0.5232 MB / 462.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of SimCode: time 0.0009997/0.1041, allocations: 0.9174 MB / 463.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of Templates: time 0.008657/0.1128, allocations: 4.702 MB / 468.3 MB, free: 7.984 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)