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.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.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 111.7 kB / 16.43 MB, free: 6.039 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.002042/0.002042, allocations: 182.9 kB / 17.35 MB, free: 5.609 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.487/1.487, allocations: 222.9 MB / 241 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.07519/0.07519, allocations: 16.77 MB / 308 MB, free: 14.43 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.556e-05, allocations: 2.281 kB / 429.3 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.003199/0.003233, allocations: 2.091 MB / 431.4 MB, free: 6.426 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.004747, allocations: 0.8375 MB / 432.2 MB, free: 5.582 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002238/0.004984, allocations: 7.938 kB / 432.2 MB, free: 5.574 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.00521, allocations: 59.56 kB / 432.3 MB, free: 5.516 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.005434, allocations: 79.55 kB / 432.4 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005869/0.006065, allocations: 250.5 kB / 432.6 MB, free: 5.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003104/0.006384, allocations: 347.2 kB / 433 MB, free: 4.855 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.006572, allocations: 115.5 kB / 433.1 MB, free: 4.742 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.006694, allocations: 127.5 kB / 433.2 MB, free: 4.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.006868, allocations: 143.4 kB / 433.3 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.496e-05/0.006921, allocations: 28 kB / 433.4 MB, free: 4.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.007057, allocations: 99.92 kB / 433.5 MB, free: 4.352 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002072/0.007271, allocations: 446.9 kB / 433.9 MB, free: 3.91 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.471e-05/0.007352, allocations: 275.8 kB / 434.2 MB, free: 3.637 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.97e-05/0.007407, allocations: 47.81 kB / 434.2 MB, free: 3.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.298e-05/0.007456, allocations: 15.88 kB / 434.2 MB, free: 3.574 MB / 302.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 Bindings: time 0.0008467/0.008308, allocations: 1.291 MB / 435.5 MB, free: 2.172 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.36e-05/0.008389, allocations: 55.89 kB / 435.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003875/0.008783, allocations: 0.5736 MB / 436.1 MB, free: 1.516 MB / 302.1 MB Notification: Performance of simplify1: time 3.324e-05/0.008823, allocations: 39.95 kB / 436.2 MB, free: 1.477 MB / 302.1 MB Notification: Performance of Alias: time 0.0009862/0.009815, allocations: 1.211 MB / 437.4 MB, free: 92 kB / 302.1 MB Notification: Performance of simplify2: time 2.446e-05/0.00985, allocations: 27.95 kB / 437.4 MB, free: 64 kB / 302.1 MB Notification: Performance of Detect States: time 0.0003845/0.01024, allocations: 182.1 kB / 437.6 MB, free: 15.87 MB / 318.1 MB Notification: Performance of Events: time 0.0002318/0.01048, allocations: 163 kB / 437.8 MB, free: 15.71 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002636/0.01076, allocations: 252.9 kB / 438 MB, free: 15.4 MB / 318.1 MB Notification: Performance of Causalize: time 0.0008273/0.01159, allocations: 0.7332 MB / 438.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.00048/0.01208, allocations: 0.5017 MB / 439.2 MB, free: 14.08 MB / 318.1 MB Notification: Performance of Inline: time 0.0009566/0.01305, allocations: 0.8801 MB / 440.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of Partitioning: time 6.521e-05/0.01312, allocations: 62.33 kB / 440.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of Cleanup: time 0.0001078/0.01324, allocations: 105 kB / 440.3 MB, free: 13 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_68) slice: {}; Notification: Performance of Causalize: time 0.004552/0.01779, allocations: 3.844 MB / 444.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of Tearing: time 0.001607/0.01941, allocations: 1.623 MB / 445.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of Initialization: time 9.62e-07/0.01943, allocations: 0 / 445.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of Tearing: time 9.588e-06/0.01944, allocations: 4.062 kB / 445.8 MB, free: 7.258 MB / 318.1 MB Notification: Performance of Categorize: time 2.168e-05/0.01947, allocations: 7.984 kB / 445.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of Solve: time 0.0002518/0.01973, allocations: 153.9 kB / 445.9 MB, free: 7.098 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0003184/0.02005, allocations: 361.9 kB / 446.3 MB, free: 6.707 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: ......... 7 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 19 (19) {inputSignal.a, inputSignal.b, inputSignal.last, inputSignal.nextEvent, inputSignal.nextEventScaled, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 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 (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: ........... 32 (scalar:32, 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: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 36 (scalar:36, 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: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0001229/0.02019, allocations: 34.17 kB / 446.3 MB, free: 6.676 MB / 318.1 MB Notification: Performance of SimCode: time 0.002082/0.02227, allocations: 1.883 MB / 448.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of Templates: time 0.007887/0.03018, allocations: 3.576 MB / 451.8 MB, free: 1.188 MB / 318.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile (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)