Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.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.001465/0.001465, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.002021/0.002021, allocations: 216.5 kB / 23.07 MB, free: 4.844 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.529/1.529, allocations: 230.6 MB / 256.9 MB, free: 7.773 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.08055/0.08055, allocations: 16.93 MB / 330.2 MB, free: 2.344 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.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=240,variableFilter="PController.G.k|PController.G.u|PController.G.y|PController.Ki|PController.Kp|PController.feedback.y|PController.initType|PController.lim.homotopyType|PController.lim.limitsAtInit|PController.lim.strict|PController.lim.u|PController.lim.uMax|PController.lim.uMin|PController.lim.y|PController.noDynamics|PController.strict|PController.u|PController.y|PController.yMax|PController.yMin|PController.yStart|PController.zero.y|PControllerAnalyticSolution.y|PIController.G.k|PIController.G.u|PIController.G.y|PIController.Ki|PIController.Kp|PIController.feedback.y|PIController.firstOrder.T|PIController.firstOrder.initType|PIController.firstOrder.k|PIController.firstOrder.u|PIController.firstOrder.y|PIController.firstOrder.y_start|PIController.initType|PIController.lim.homotopyType|PIController.lim.limitsAtInit|PIController.lim.strict|PIController.lim.u|PIController.lim.uMax|PIController.lim.uMin|PIController.lim.y|PIController.noDynamics|PIController.strict|PIController.u|PIController.y|PIController.yMax|PIController.yMin|PIController.yStart|PIControllerAnalyticSolution.y|PIControllerNegativeKp.G.k|PIControllerNegativeKp.G.u|PIControllerNegativeKp.G.y|PIControllerNegativeKp.Ki|PIControllerNegativeKp.Kp|PIControllerNegativeKp.feedback.y|PIControllerNegativeKp.firstOrder.T|PIControllerNegativeKp.firstOrder.initType|PIControllerNegativeKp.firstOrder.k|PIControllerNegativeKp.firstOrder.u|PIControllerNegativeKp.firstOrder.y|PIControllerNegativeKp.firstOrder.y_start|PIControllerNegativeKp.initType|PIControllerNegativeKp.lim.homotopyType|PIControllerNegativeKp.lim.limitsAtInit|PIControllerNegativeKp.lim.strict|PIControllerNegativeKp.lim.u|PIControllerNegativeKp.lim.uMax|PIControllerNegativeKp.lim.uMin|PIControllerNegativeKp.lim.y|PIControllerNegativeKp.noDynamics|PIControllerNegativeKp.strict|PIControllerNegativeKp.u|PIControllerNegativeKp.y|PIControllerNegativeKp.yMax|PIControllerNegativeKp.yMin|PIControllerNegativeKp.yStart|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|negative.k|negative.u|negative.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=240,variableFilter="PController.G.k|PController.G.u|PController.G.y|PController.Ki|PController.Kp|PController.feedback.y|PController.initType|PController.lim.homotopyType|PController.lim.limitsAtInit|PController.lim.strict|PController.lim.u|PController.lim.uMax|PController.lim.uMin|PController.lim.y|PController.noDynamics|PController.strict|PController.u|PController.y|PController.yMax|PController.yMin|PController.yStart|PController.zero.y|PControllerAnalyticSolution.y|PIController.G.k|PIController.G.u|PIController.G.y|PIController.Ki|PIController.Kp|PIController.feedback.y|PIController.firstOrder.T|PIController.firstOrder.initType|PIController.firstOrder.k|PIController.firstOrder.u|PIController.firstOrder.y|PIController.firstOrder.y_start|PIController.initType|PIController.lim.homotopyType|PIController.lim.limitsAtInit|PIController.lim.strict|PIController.lim.u|PIController.lim.uMax|PIController.lim.uMin|PIController.lim.y|PIController.noDynamics|PIController.strict|PIController.u|PIController.y|PIController.yMax|PIController.yMin|PIController.yStart|PIControllerAnalyticSolution.y|PIControllerNegativeKp.G.k|PIControllerNegativeKp.G.u|PIControllerNegativeKp.G.y|PIControllerNegativeKp.Ki|PIControllerNegativeKp.Kp|PIControllerNegativeKp.feedback.y|PIControllerNegativeKp.firstOrder.T|PIControllerNegativeKp.firstOrder.initType|PIControllerNegativeKp.firstOrder.k|PIControllerNegativeKp.firstOrder.u|PIControllerNegativeKp.firstOrder.y|PIControllerNegativeKp.firstOrder.y_start|PIControllerNegativeKp.initType|PIControllerNegativeKp.lim.homotopyType|PIControllerNegativeKp.lim.limitsAtInit|PIControllerNegativeKp.lim.strict|PIControllerNegativeKp.lim.u|PIControllerNegativeKp.lim.uMax|PIControllerNegativeKp.lim.uMin|PIControllerNegativeKp.lim.y|PIControllerNegativeKp.noDynamics|PIControllerNegativeKp.strict|PIControllerNegativeKp.u|PIControllerNegativeKp.y|PIControllerNegativeKp.yMax|PIControllerNegativeKp.yMin|PIControllerNegativeKp.yStart|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|negative.k|negative.u|negative.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.277e-05, allocations: 2.281 kB / 463.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.003713/0.003736, allocations: 2.048 MB / 465.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.005532, allocations: 0.8843 MB / 466.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.005666, allocations: 15.88 kB / 466.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.005929, allocations: 63.5 kB / 466.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.006109, allocations: 79.48 kB / 466.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.006866, allocations: 282.8 kB / 466.9 MB, free: 12.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005579/0.007424, allocations: 487.1 kB / 467.4 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.00763, allocations: 83.94 kB / 467.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000238/0.007868, allocations: 195.4 kB / 467.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002245/0.008092, allocations: 131.3 kB / 467.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.804e-05/0.00815, allocations: 28 kB / 467.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.008324, allocations: 107.8 kB / 467.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0005194/0.008843, allocations: 0.5646 MB / 468.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002508/0.009094, allocations: 355.2 kB / 468.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.917e-05/0.009143, allocations: 16 kB / 468.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.668e-05/0.00919, allocations: 15.81 kB / 468.9 MB, free: 10.12 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: 46 (42) * Number of variables: 46 (46) Notification: Performance of [SIM] Bindings: time 0.001708/0.0109, allocations: 1.355 MB / 470.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001898/0.01109, allocations: 157.2 kB / 470.4 MB, free: 8.469 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006914/0.01178, allocations: 0.6365 MB / 471 MB, free: 7.805 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002774/0.01206, allocations: 161.8 kB / 471.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001691/0.01375, allocations: 1.086 MB / 472.3 MB, free: 6.352 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0002135/0.01396, allocations: 153.4 kB / 472.4 MB, free: 6.152 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001221/0.01408, allocations: 92.36 kB / 472.5 MB, free: 6.035 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0003322/0.01442, allocations: 219.5 kB / 472.7 MB, free: 5.77 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0002339/0.01465, allocations: 139.3 kB / 472.8 MB, free: 5.633 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003948/0.01504, allocations: 292.4 kB / 473.1 MB, free: 5.309 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.0006951/0.01574, allocations: 486.6 kB / 473.6 MB, free: 4.797 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005261/0.01627, allocations: 0.5347 MB / 474.1 MB, free: 4.262 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.0008953/0.01716, allocations: 446.4 kB / 474.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.000739/0.0179, allocations: 0.739 MB / 475.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 4.05e-05/0.01794, allocations: 26.75 kB / 475.3 MB, free: 2.977 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0002272/0.01817, allocations: 217.1 kB / 475.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.002326/0.02049, allocations: 1.669 MB / 477.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 4.748e-05/0.02054, allocations: 48 kB / 477.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 5.62e-07/0.02054, allocations: 0 / 477.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002363/0.02078, allocations: 163 kB / 477.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.761e-06/0.02078, allocations: 0 / 477.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 2.236e-05/0.02081, allocations: 35.94 kB / 477.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.076e-05/0.02082, allocations: 0 / 477.5 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.0007448/0.02156, allocations: 0.5347 MB / 478 MB, free: 280 kB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.0005992/0.02216, allocations: 0.6426 MB / 478.6 MB, free: 15.53 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 4 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 2 (2) {PIController.firstOrder.y, PIControllerNegativeKp.firstOrder.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 20 (20) {inputSignal.a, inputSignal.b, inputSignal.last, inputSignal.nextEvent, inputSignal.nextEventScaled, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 28 (scalar:28, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:47, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 47 (scalar:47, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001529/0.02231, allocations: 37.47 kB / 478.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of SimCode: time 0.001833/0.02415, allocations: 1.233 MB / 479.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of Templates: time 0.008325/0.03247, allocations: 3.602 MB / 483.5 MB, free: 10.64 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.828361260006204] Failed to read output from testmodel.py, exit status != 0: 0.0414802500163205 0.055913501000000004 0.04364274 Calling exit ...