Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.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.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,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_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,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_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 112.1 kB / 17.1 MB, free: 5.988 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.001736/0.001736, allocations: 189.3 kB / 18.04 MB, free: 5.066 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.57/1.57, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06026/0.06026, allocations: 14.17 MB / 285.4 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.333e-05, allocations: 2.281 kB / 399.9 MB, free: 42.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.003572/0.003605, allocations: 2.179 MB / 402.1 MB, free: 41.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.005436, allocations: 0.9222 MB / 403 MB, free: 40.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.005803, allocations: 11.12 kB / 403 MB, free: 40.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000311/0.00612, allocations: 68.16 kB / 403.1 MB, free: 40.48 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003224/0.006481, allocations: 84.11 kB / 403.1 MB, free: 40.41 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.007562, allocations: 274.2 kB / 403.4 MB, free: 40.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007399/0.008311, allocations: 399.4 kB / 403.8 MB, free: 39.97 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002762/0.008597, allocations: 121.6 kB / 403.9 MB, free: 39.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002563/0.00886, allocations: 138.6 kB / 404.1 MB, free: 39.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002716/0.009138, allocations: 148.5 kB / 404.2 MB, free: 39.7 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.631e-05/0.009232, allocations: 27.19 kB / 404.2 MB, free: 39.7 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.009457, allocations: 101.5 kB / 404.3 MB, free: 39.66 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003821/0.009846, allocations: 480.2 kB / 404.8 MB, free: 39.3 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001967/0.01005, allocations: 298.6 kB / 405.1 MB, free: 39.08 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.01018, allocations: 52.22 kB / 405.1 MB, free: 39.05 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.431e-05/0.01026, allocations: 10.69 kB / 405.1 MB, free: 39.04 MB / 318.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 Bindings: time 0.001443/0.01171, allocations: 1.345 MB / 406.5 MB, free: 37.96 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.691e-05/0.01179, allocations: 47.69 kB / 406.5 MB, free: 37.91 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005704/0.01236, allocations: 0.6022 MB / 407.1 MB, free: 37.44 MB / 318.1 MB Notification: Performance of simplify1: time 5.724e-05/0.01243, allocations: 39.88 kB / 407.2 MB, free: 37.41 MB / 318.1 MB Notification: Performance of Alias: time 0.001373/0.01381, allocations: 1.122 MB / 408.3 MB, free: 36.56 MB / 318.1 MB Notification: Performance of simplify2: time 5.83e-05/0.01388, allocations: 31.42 kB / 408.3 MB, free: 36.54 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002706/0.01416, allocations: 185.1 kB / 408.5 MB, free: 36.38 MB / 318.1 MB Notification: Performance of Events: time 0.0003423/0.01451, allocations: 199.5 kB / 408.7 MB, free: 36.24 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003266/0.01484, allocations: 246.7 kB / 408.9 MB, free: 36.03 MB / 318.1 MB Notification: Performance of Causalize: time 0.0009681/0.01582, allocations: 0.7591 MB / 409.7 MB, free: 35.47 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004448/0.01627, allocations: 0.5453 MB / 410.3 MB, free: 34.9 MB / 318.1 MB Notification: Performance of Inline: time 0.0007933/0.01708, allocations: 0.9438 MB / 411.2 MB, free: 33.92 MB / 318.1 MB Notification: Performance of Partitioning: time 5.277e-05/0.01714, allocations: 58.36 kB / 411.3 MB, free: 33.86 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001344/0.01728, allocations: 121 kB / 411.4 MB, free: 33.73 MB / 318.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) inputSignal.nextEventScaled = $START.inputSignal.nextEventScaled ($RES_SRT_66) slice: {}; Notification: Performance of Causalize: time 0.004227/0.02151, allocations: 4.249 MB / 415.6 MB, free: 29.42 MB / 318.1 MB Notification: Performance of Tearing: time 1.606e-05/0.02154, allocations: 0 / 415.6 MB, free: 29.42 MB / 318.1 MB Notification: Performance of Initialization: time 8.92e-07/0.02154, allocations: 3.938 kB / 415.6 MB, free: 29.41 MB / 318.1 MB Notification: Performance of Tearing: time 7.815e-06/0.02156, allocations: 11.94 kB / 415.6 MB, free: 29.4 MB / 318.1 MB Notification: Performance of Categorize: time 1.501e-05/0.02158, allocations: 0 / 415.6 MB, free: 29.4 MB / 318.1 MB Notification: Performance of Solve: time 0.0002254/0.02181, allocations: 154.5 kB / 415.8 MB, free: 29.25 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0004097/0.02222, allocations: 0.4937 MB / 416.3 MB, free: 28.72 MB / 318.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: ......... 6 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 21 (21) {inputSignal.a, inputSignal.b, inputSignal.last, inputSignal.nextEvent, inputSignal.nextEventScaled, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_1, $SEV_0, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 31 (scalar:31, 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 (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: ........... 51 (scalar:51, 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 (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: ........... 51 (scalar:51, 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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001434/0.02238, allocations: 42.86 kB / 416.3 MB, free: 28.68 MB / 318.1 MB Notification: Performance of SimCode: time 0.001492/0.02387, allocations: 1.864 MB / 418.2 MB, free: 26.79 MB / 318.1 MB Notification: Performance of Templates: time 0.006805/0.03069, allocations: 3.619 MB / 421.8 MB, free: 23.18 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile (rm -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; mkfifo PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe >> ../files/PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.sim & ./PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_symb_jac_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.pipe 2>&1)