Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.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.001447/0.001447, 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.001495/0.001495, allocations: 214.4 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.493/1.493, allocations: 230.7 MB / 256.9 MB, free: 7.77 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.08089/0.08089, allocations: 16.93 MB / 330.2 MB, free: 2.355 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.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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|leadLagAnalyticSolution.y|leadLagNegativeGain.T1|leadLagNegativeGain.T2|leadLagNegativeGain.feedback_u.y|leadLagNegativeGain.feedback_y.y|leadLagNegativeGain.gain_dir.k|leadLagNegativeGain.gain_dir.u|leadLagNegativeGain.gain_dir.y|leadLagNegativeGain.gain_fb.k|leadLagNegativeGain.gain_fb.u|leadLagNegativeGain.gain_fb.y|leadLagNegativeGain.initType|leadLagNegativeGain.integ_fb.initType|leadLagNegativeGain.integ_fb.k|leadLagNegativeGain.integ_fb.u|leadLagNegativeGain.integ_fb.y|leadLagNegativeGain.integ_fb.y_start|leadLagNegativeGain.k|leadLagNegativeGain.limiter_y.homotopyType|leadLagNegativeGain.limiter_y.limitsAtInit|leadLagNegativeGain.limiter_y.strict|leadLagNegativeGain.limiter_y.u|leadLagNegativeGain.limiter_y.uMax|leadLagNegativeGain.limiter_y.uMin|leadLagNegativeGain.limiter_y.y|leadLagNegativeGain.strict|leadLagNegativeGain.u|leadLagNegativeGain.y|leadLagNegativeGain.yMax|leadLagNegativeGain.yMin|leadLagNegativeGain.yStart|leadLagPositiveGain.T1|leadLagPositiveGain.T2|leadLagPositiveGain.feedback_u.y|leadLagPositiveGain.feedback_y.y|leadLagPositiveGain.gain_dir.k|leadLagPositiveGain.gain_dir.u|leadLagPositiveGain.gain_dir.y|leadLagPositiveGain.gain_fb.k|leadLagPositiveGain.gain_fb.u|leadLagPositiveGain.gain_fb.y|leadLagPositiveGain.initType|leadLagPositiveGain.integ_fb.initType|leadLagPositiveGain.integ_fb.k|leadLagPositiveGain.integ_fb.u|leadLagPositiveGain.integ_fb.y|leadLagPositiveGain.integ_fb.y_start|leadLagPositiveGain.k|leadLagPositiveGain.limiter_y.homotopyType|leadLagPositiveGain.limiter_y.limitsAtInit|leadLagPositiveGain.limiter_y.strict|leadLagPositiveGain.limiter_y.u|leadLagPositiveGain.limiter_y.uMax|leadLagPositiveGain.limiter_y.uMin|leadLagPositiveGain.limiter_y.y|leadLagPositiveGain.strict|leadLagPositiveGain.u|leadLagPositiveGain.y|leadLagPositiveGain.yMax|leadLagPositiveGain.yMin|leadLagPositiveGain.yStart|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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|leadLagAnalyticSolution.y|leadLagNegativeGain.T1|leadLagNegativeGain.T2|leadLagNegativeGain.feedback_u.y|leadLagNegativeGain.feedback_y.y|leadLagNegativeGain.gain_dir.k|leadLagNegativeGain.gain_dir.u|leadLagNegativeGain.gain_dir.y|leadLagNegativeGain.gain_fb.k|leadLagNegativeGain.gain_fb.u|leadLagNegativeGain.gain_fb.y|leadLagNegativeGain.initType|leadLagNegativeGain.integ_fb.initType|leadLagNegativeGain.integ_fb.k|leadLagNegativeGain.integ_fb.u|leadLagNegativeGain.integ_fb.y|leadLagNegativeGain.integ_fb.y_start|leadLagNegativeGain.k|leadLagNegativeGain.limiter_y.homotopyType|leadLagNegativeGain.limiter_y.limitsAtInit|leadLagNegativeGain.limiter_y.strict|leadLagNegativeGain.limiter_y.u|leadLagNegativeGain.limiter_y.uMax|leadLagNegativeGain.limiter_y.uMin|leadLagNegativeGain.limiter_y.y|leadLagNegativeGain.strict|leadLagNegativeGain.u|leadLagNegativeGain.y|leadLagNegativeGain.yMax|leadLagNegativeGain.yMin|leadLagNegativeGain.yStart|leadLagPositiveGain.T1|leadLagPositiveGain.T2|leadLagPositiveGain.feedback_u.y|leadLagPositiveGain.feedback_y.y|leadLagPositiveGain.gain_dir.k|leadLagPositiveGain.gain_dir.u|leadLagPositiveGain.gain_dir.y|leadLagPositiveGain.gain_fb.k|leadLagPositiveGain.gain_fb.u|leadLagPositiveGain.gain_fb.y|leadLagPositiveGain.initType|leadLagPositiveGain.integ_fb.initType|leadLagPositiveGain.integ_fb.k|leadLagPositiveGain.integ_fb.u|leadLagPositiveGain.integ_fb.y|leadLagPositiveGain.integ_fb.y_start|leadLagPositiveGain.k|leadLagPositiveGain.limiter_y.homotopyType|leadLagPositiveGain.limiter_y.limitsAtInit|leadLagPositiveGain.limiter_y.strict|leadLagPositiveGain.limiter_y.u|leadLagPositiveGain.limiter_y.uMax|leadLagPositiveGain.limiter_y.uMin|leadLagPositiveGain.limiter_y.y|leadLagPositiveGain.strict|leadLagPositiveGain.u|leadLagPositiveGain.y|leadLagPositiveGain.yMax|leadLagPositiveGain.yMin|leadLagPositiveGain.yStart|negativeGain.k|negativeGain.u|negativeGain.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.047e-05, allocations: 8.188 kB / 463.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.003554/0.003584, allocations: 2.007 MB / 465.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.005179, allocations: 0.8143 MB / 466.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.005306, allocations: 11.88 kB / 466.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.005531, allocations: 59.62 kB / 466.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002704/0.005802, allocations: 79.48 kB / 466.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.00645, allocations: 242.2 kB / 466.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004969/0.006947, allocations: 435.2 kB / 467.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.007155, allocations: 75.98 kB / 467.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.007363, allocations: 163.5 kB / 467.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000211/0.007574, allocations: 139.3 kB / 467.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.914e-05/0.007623, allocations: 24 kB / 467.6 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.007786, allocations: 95.92 kB / 467.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0004654/0.008251, allocations: 0.5454 MB / 468.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002119/0.008463, allocations: 335.5 kB / 468.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.809e-05/0.008511, allocations: 16 kB / 468.6 MB, free: 10.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.561e-05/0.008557, allocations: 27.84 kB / 468.6 MB, free: 10.41 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: 48 (44) * Number of variables: 48 (48) Notification: Performance of [SIM] Bindings: time 0.00143/0.009987, allocations: 1.289 MB / 469.9 MB, free: 8.992 MB / 334.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001953/0.01018, allocations: 141.2 kB / 470 MB, free: 8.844 MB / 334.1 MB Notification: Performance of [SIM] Early Inline: time 0.0006358/0.01082, allocations: 0.6092 MB / 470.6 MB, free: 8.207 MB / 334.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0002412/0.01106, allocations: 149.9 kB / 470.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of [SIM] Alias: time 0.001716/0.01277, allocations: 1.154 MB / 471.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001868/0.01296, allocations: 125.9 kB / 472 MB, free: 6.5 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001145/0.01308, allocations: 88.38 kB / 472.1 MB, free: 6.387 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.0003188/0.01339, allocations: 215.8 kB / 472.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0001952/0.01359, allocations: 118.3 kB / 472.5 MB, free: 6.012 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003415/0.01393, allocations: 252.9 kB / 472.7 MB, free: 5.734 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.0006343/0.01457, allocations: 433.5 kB / 473.1 MB, free: 5.281 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004495/0.01502, allocations: 463.6 kB / 473.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.000664/0.01568, allocations: 414.8 kB / 474 MB, free: 4.352 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.0006311/0.01631, allocations: 0.6531 MB / 474.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 3.414e-05/0.01634, allocations: 18.75 kB / 474.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0001948/0.01654, allocations: 189.2 kB / 474.8 MB, free: 3.48 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.00191/0.01845, allocations: 1.443 MB / 476.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0005745/0.01902, allocations: 304.6 kB / 476.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 5.81e-07/0.01902, allocations: 0 / 476.6 MB, free: 1.73 MB / 334.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0002048/0.01923, allocations: 135.7 kB / 476.7 MB, free: 1.57 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.911e-06/0.01923, allocations: 4 kB / 476.7 MB, free: 1.566 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 1.962e-05/0.01925, allocations: 27.94 kB / 476.7 MB, free: 1.539 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 1.505e-05/0.01927, allocations: 4 kB / 476.7 MB, free: 1.535 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.0008271/0.0201, allocations: 0.5679 MB / 477.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.001813/0.02191, allocations: 1.943 MB / 479.3 MB, free: 14.78 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: ......... 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) {leadLagPositiveGain.gain_fb.u, leadLagNegativeGain.gain_fb.u} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 16 (16) {inputSignal.a, inputSignal.b, inputSignal.last, inputSignal.nextEvent, inputSignal.nextEventScaled, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 25 (scalar:25, 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: ........... 26 (scalar:26, 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: ........... 30 (scalar:30, 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: Performance of backend: time 0.000134/0.02204, allocations: 43.5 kB / 479.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of SimCode: time 0.001752/0.0238, allocations: 1.274 MB / 480.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of Templates: time 0.008442/0.03224, allocations: 4.039 MB / 484.6 MB, free: 9.406 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.833466776006389] Failed to read output from testmodel.py, exit status != 0: 0.04056085797492415 0.053537836000000005 0.042133290000000004 Calling exit ...