Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_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 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.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_dev_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_dev_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.00137/0.00137, allocations: 111.7 kB / 16.42 MB, free: 6.48 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.001538/0.001538, allocations: 185.7 kB / 17.34 MB, free: 5.746 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.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07516/0.07516, allocations: 16.77 MB / 308 MB, free: 14.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.89 kB / 429.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08973/0.09091, allocations: 53.55 MB / 482.9 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.002726/0.09366, allocations: 1.852 MB / 484.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.09488, allocations: 0.7752 MB / 485.6 MB, free: 368 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.09499, allocations: 7.938 kB / 485.6 MB, free: 360 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.09523, allocations: 43.7 kB / 485.6 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.09534, allocations: 59.67 kB / 485.7 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005688/0.09592, allocations: 243.1 kB / 485.9 MB, free: 16 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.09622, allocations: 255.4 kB / 486.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.09635, allocations: 37.64 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.09652, allocations: 103.6 kB / 486.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.09668, allocations: 119.6 kB / 486.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.09673, allocations: 20 kB / 486.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.09688, allocations: 95.86 kB / 486.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.473e-05/0.09697, allocations: 55.77 kB / 486.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.62e-05/0.09707, allocations: 91.45 kB / 486.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.0974, allocations: 274.9 kB / 486.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.09742, allocations: 4 kB / 486.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.09743, allocations: 0 / 486.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.09744, allocations: 0 / 486.9 MB, free: 14.98 MB / 366.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.0009159/0.09836, allocations: 0.5818 MB / 487.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.09841, allocations: 12.03 kB / 487.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.09848, allocations: 24.8 kB / 487.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.09892, allocations: 294.9 kB / 487.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.09895, allocations: 12.36 kB / 487.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.862e-05/0.09899, allocations: 8.375 kB / 487.9 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/0.09962, allocations: 275 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.09964, allocations: 0 / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.09967, allocations: 4 kB / 488.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.09968, allocations: 11.94 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.1004, allocations: 218.3 kB / 488.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1016, allocations: 0.8767 MB / 489.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008777/0.1024, allocations: 281 kB / 489.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003853/0.1028, allocations: 141.7 kB / 489.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/0.1029, allocations: 8.031 kB / 489.7 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000491/0.1034, allocations: 226.7 kB / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.433e-06/0.1034, allocations: 0 / 489.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.001367/0.1048, allocations: 486.8 kB / 490.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1049, allocations: 162.2 kB / 490.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.1051, allocations: 237 kB / 490.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.1052, allocations: 25.7 kB / 490.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1053, allocations: 148.3 kB / 490.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.112e-05/0.1054, allocations: 55.58 kB / 491 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.582e-05/0.1054, allocations: 41.7 kB / 491 MB, free: 10.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.1056, allocations: 342.8 kB / 491.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.106, allocations: 128.7 kB / 491.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.1065, allocations: 190.7 kB / 491.7 MB, free: 9.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007856/0.1073, allocations: 327 kB / 492 MB, free: 9.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1073, allocations: 0 / 492 MB, free: 9.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009346/0.1082, allocations: 407 kB / 492.4 MB, free: 9.141 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.1083, allocations: 41.69 kB / 492.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1083, allocations: 0 / 492.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1083, allocations: 7.938 kB / 492.4 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002974/0.1086, allocations: 64 kB / 492.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1086, allocations: 0 / 492.5 MB, free: 9.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.1089, allocations: 47.86 kB / 492.5 MB, free: 8.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1089, allocations: 8 kB / 492.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002227/0.1091, allocations: 164 kB / 492.7 MB, free: 8.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001891/0.1093, allocations: 143.5 kB / 492.8 MB, free: 8.637 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003554/0.1097, allocations: 230.3 kB / 493.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.1097, allocations: 0 / 493.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005138/0.1102, allocations: 305.4 kB / 493.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/0.1103, allocations: 40.03 kB / 493.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.1103, allocations: 0 / 493.4 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.522e-06/0.1103, allocations: 7.984 kB / 493.4 MB, free: 8.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1105, allocations: 39.84 kB / 493.4 MB, free: 7.977 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1105, allocations: 4 kB / 493.4 MB, free: 7.973 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.1106, allocations: 27.88 kB / 493.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.1107, allocations: 12.22 kB / 493.5 MB, free: 7.934 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,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.0001565/0.1108, allocations: 230 kB / 493.7 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.1109, allocations: 23.86 kB / 493.7 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.369e-05/0.1109, allocations: 37.7 kB / 493.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.111, allocations: 0 / 493.8 MB, free: 7.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.111, allocations: 4 kB / 493.8 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.111, allocations: 96.91 kB / 493.9 MB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.427e-05/0.1111, allocations: 8 kB / 493.9 MB, free: 7.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002717/0.1114, allocations: 39.95 kB / 493.9 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.1115, allocations: 31.95 kB / 493.9 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001203/0.1127, allocations: 0.6096 MB / 494.6 MB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001451/0.1142, allocations: 0.7688 MB / 495.3 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004184/0.1146, allocations: 168 kB / 495.5 MB, free: 5.852 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1147, allocations: 172.5 kB / 495.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of Backend: time 4.9e-07/0.1147, allocations: 0 / 495.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.1159, allocations: 0.5206 MB / 496.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of SimCode: time 0.0009178/0.1169, allocations: 0.9034 MB / 497.1 MB, free: 4.172 MB / 366.1 MB Notification: Performance of Templates: time 0.008234/0.1251, allocations: 4.682 MB / 0.49 GB, free: 15.52 MB / 382.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1)