Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.001493/0.001493, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001486/0.001486, allocations: 214.5 kB / 23.06 MB, free: 4.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 207.7 MB / 233.9 MB, free: 9.766 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06449/0.06449, allocations: 14.39 MB / 300.6 MB, free: 7.207 MB / 238.1 MB " [Timeout remaining time 180] 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.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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="firstOrderAnalyticSolution.y|firstOrderNegativeGain.G.k|firstOrderNegativeGain.G.u|firstOrderNegativeGain.G.y|firstOrderNegativeGain.Gk.k|firstOrderNegativeGain.Gk.u|firstOrderNegativeGain.Gk.y|firstOrderNegativeGain.I.initType|firstOrderNegativeGain.I.k|firstOrderNegativeGain.I.u|firstOrderNegativeGain.I.y|firstOrderNegativeGain.I.y_start|firstOrderNegativeGain.T|firstOrderNegativeGain.feedback.y|firstOrderNegativeGain.initType|firstOrderNegativeGain.k|firstOrderNegativeGain.lim.homotopyType|firstOrderNegativeGain.lim.limitsAtInit|firstOrderNegativeGain.lim.strict|firstOrderNegativeGain.lim.u|firstOrderNegativeGain.lim.uMax|firstOrderNegativeGain.lim.uMin|firstOrderNegativeGain.lim.y|firstOrderNegativeGain.strict|firstOrderNegativeGain.u|firstOrderNegativeGain.y|firstOrderNegativeGain.yMax|firstOrderNegativeGain.yMin|firstOrderNegativeGain.yStart|firstOrderPositiveGain.G.k|firstOrderPositiveGain.G.u|firstOrderPositiveGain.G.y|firstOrderPositiveGain.Gk.k|firstOrderPositiveGain.Gk.u|firstOrderPositiveGain.Gk.y|firstOrderPositiveGain.I.initType|firstOrderPositiveGain.I.k|firstOrderPositiveGain.I.u|firstOrderPositiveGain.I.y|firstOrderPositiveGain.I.y_start|firstOrderPositiveGain.T|firstOrderPositiveGain.feedback.y|firstOrderPositiveGain.initType|firstOrderPositiveGain.k|firstOrderPositiveGain.lim.homotopyType|firstOrderPositiveGain.lim.limitsAtInit|firstOrderPositiveGain.lim.strict|firstOrderPositiveGain.lim.u|firstOrderPositiveGain.lim.uMax|firstOrderPositiveGain.lim.uMin|firstOrderPositiveGain.lim.y|firstOrderPositiveGain.strict|firstOrderPositiveGain.u|firstOrderPositiveGain.y|firstOrderPositiveGain.yMax|firstOrderPositiveGain.yMin|firstOrderPositiveGain.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|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="firstOrderAnalyticSolution.y|firstOrderNegativeGain.G.k|firstOrderNegativeGain.G.u|firstOrderNegativeGain.G.y|firstOrderNegativeGain.Gk.k|firstOrderNegativeGain.Gk.u|firstOrderNegativeGain.Gk.y|firstOrderNegativeGain.I.initType|firstOrderNegativeGain.I.k|firstOrderNegativeGain.I.u|firstOrderNegativeGain.I.y|firstOrderNegativeGain.I.y_start|firstOrderNegativeGain.T|firstOrderNegativeGain.feedback.y|firstOrderNegativeGain.initType|firstOrderNegativeGain.k|firstOrderNegativeGain.lim.homotopyType|firstOrderNegativeGain.lim.limitsAtInit|firstOrderNegativeGain.lim.strict|firstOrderNegativeGain.lim.u|firstOrderNegativeGain.lim.uMax|firstOrderNegativeGain.lim.uMin|firstOrderNegativeGain.lim.y|firstOrderNegativeGain.strict|firstOrderNegativeGain.u|firstOrderNegativeGain.y|firstOrderNegativeGain.yMax|firstOrderNegativeGain.yMin|firstOrderNegativeGain.yStart|firstOrderPositiveGain.G.k|firstOrderPositiveGain.G.u|firstOrderPositiveGain.G.y|firstOrderPositiveGain.Gk.k|firstOrderPositiveGain.Gk.u|firstOrderPositiveGain.Gk.y|firstOrderPositiveGain.I.initType|firstOrderPositiveGain.I.k|firstOrderPositiveGain.I.u|firstOrderPositiveGain.I.y|firstOrderPositiveGain.I.y_start|firstOrderPositiveGain.T|firstOrderPositiveGain.feedback.y|firstOrderPositiveGain.initType|firstOrderPositiveGain.k|firstOrderPositiveGain.lim.homotopyType|firstOrderPositiveGain.lim.limitsAtInit|firstOrderPositiveGain.lim.strict|firstOrderPositiveGain.lim.u|firstOrderPositiveGain.lim.uMax|firstOrderPositiveGain.lim.uMin|firstOrderPositiveGain.lim.y|firstOrderPositiveGain.strict|firstOrderPositiveGain.u|firstOrderPositiveGain.y|firstOrderPositiveGain.yMax|firstOrderPositiveGain.yMin|firstOrderPositiveGain.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|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.468e-05, allocations: 4.391 kB / 424.3 MB, free: 36.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.002759/0.002784, allocations: 1.95 MB / 426.2 MB, free: 34.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.004144, allocations: 0.8347 MB / 427.1 MB, free: 33.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.004269, allocations: 11.88 kB / 427.1 MB, free: 33.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.00449, allocations: 63.45 kB / 427.1 MB, free: 33.35 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.00471, allocations: 75.55 kB / 427.2 MB, free: 33.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.005216, allocations: 258.8 kB / 427.5 MB, free: 33.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003349/0.005551, allocations: 419.2 kB / 427.9 MB, free: 32.61 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.005708, allocations: 64.97 kB / 427.9 MB, free: 32.55 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001464/0.005855, allocations: 163.5 kB / 428.1 MB, free: 32.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00015/0.006005, allocations: 131.4 kB / 428.2 MB, free: 32.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.006046, allocations: 24 kB / 428.2 MB, free: 32.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.006177, allocations: 99.86 kB / 428.3 MB, free: 32.14 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.000283/0.00646, allocations: 0.5224 MB / 428.9 MB, free: 31.62 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.000105/0.006565, allocations: 307.8 kB / 429.2 MB, free: 31.31 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.687e-05/0.006612, allocations: 16 kB / 429.2 MB, free: 31.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.666e-05/0.006649, allocations: 27.84 kB / 429.2 MB, free: 31.27 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: 42 (38) * Number of variables: 42 (42) Notification: Performance of [SIM] Bindings: time 0.0009711/0.00762, allocations: 1.212 MB / 430.4 MB, free: 29.93 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001802/0.0078, allocations: 161.2 kB / 430.6 MB, free: 29.76 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.000421/0.008221, allocations: 0.6169 MB / 431.2 MB, free: 29.11 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001475/0.008369, allocations: 145.8 kB / 431.3 MB, free: 28.93 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.001003/0.009371, allocations: 0.994 MB / 432.3 MB, free: 27.77 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001216/0.009493, allocations: 136.6 kB / 432.5 MB, free: 27.59 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 7.133e-05/0.009564, allocations: 80.39 kB / 432.5 MB, free: 27.49 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.000223/0.009787, allocations: 222.2 kB / 432.8 MB, free: 27.22 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001912/0.009979, allocations: 143.1 kB / 432.9 MB, free: 27.08 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002683/0.01025, allocations: 296.3 kB / 433.2 MB, free: 26.76 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0004879/0.01073, allocations: 484.6 kB / 433.7 MB, free: 26.26 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003328/0.01107, allocations: 0.558 MB / 434.2 MB, free: 25.7 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0004316/0.0115, allocations: 368.4 kB / 434.6 MB, free: 25.28 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0004536/0.01195, allocations: 0.7546 MB / 435.3 MB, free: 24.52 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 2.675e-05/0.01198, allocations: 22.69 kB / 435.4 MB, free: 24.49 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0001401/0.01212, allocations: 209.2 kB / 435.6 MB, free: 24.28 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.0015/0.01362, allocations: 1.55 MB / 437.1 MB, free: 22.72 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 0.0003083/0.01393, allocations: 260.9 kB / 437.4 MB, free: 22.48 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 5.81e-07/0.01393, allocations: 0 / 437.4 MB, free: 22.48 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001657/0.01409, allocations: 156.1 kB / 437.5 MB, free: 22.3 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.25e-06/0.0141, allocations: 192 / 437.5 MB, free: 22.3 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 9.337e-06/0.01411, allocations: 28 kB / 437.5 MB, free: 22.27 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 1.228e-05/0.01412, allocations: 3.938 kB / 437.6 MB, free: 22.27 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0006963/0.01482, allocations: 0.6331 MB / 438.2 MB, free: 21.64 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.0006693/0.01549, allocations: 1.248 MB / 439.4 MB, free: 20.22 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: ......... 3 * 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) {firstOrderPositiveGain.lim.simplifiedExpr, firstOrderNegativeGain.lim.simplifiedExpr} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 19 (19) {inputSignal.a, inputSignal.b, inputSignal.last, inputSignal.nextEvent, inputSignal.nextEventScaled, $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: ........... 29 (scalar:29, 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: ........... 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 42 (scalar:42, 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.0001217/0.01561, allocations: 50.28 kB / 439.5 MB, free: 20.17 MB / 318.1 MB Notification: Performance of SimCode: time 0.001251/0.01686, allocations: 1.235 MB / 440.7 MB, free: 18.88 MB / 318.1 MB Notification: Performance of Templates: time 0.007391/0.02425, allocations: 4.093 MB / 444.8 MB, free: 14.8 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile [Timeout 660] (rm -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.936419791018125] Failed to read output from testmodel.py, exit status != 0: 0.030693184002302587 0.040773941 0.031937601 Calling exit ...