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.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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 111.7 kB / 16.42 MB, free: 6.523 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.001251/0.001251, allocations: 182 kB / 17.36 MB, free: 5.746 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.585/1.585, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06283/0.06283, allocations: 14.17 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.749e-05, allocations: 3.266 kB / 399.2 MB, free: 42.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.004164/0.004201, allocations: 2.033 MB / 401.2 MB, free: 41.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.006316, allocations: 0.8761 MB / 402.1 MB, free: 40.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.006694, allocations: 12.38 kB / 402.1 MB, free: 40.67 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.006998, allocations: 56.44 kB / 402.2 MB, free: 40.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.007391, allocations: 76.42 kB / 402.3 MB, free: 40.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008889/0.008314, allocations: 242.5 kB / 402.5 MB, free: 40.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005449/0.008868, allocations: 338.6 kB / 402.8 MB, free: 40.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.009086, allocations: 82.77 kB / 402.9 MB, free: 40.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.009312, allocations: 137.5 kB / 403 MB, free: 40.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.009539, allocations: 135 kB / 403.2 MB, free: 39.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.169e-05/0.00962, allocations: 25.5 kB / 403.2 MB, free: 39.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.009847, allocations: 98.64 kB / 403.3 MB, free: 39.94 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003743/0.01023, allocations: 428.9 kB / 403.7 MB, free: 39.62 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001292/0.01036, allocations: 247 kB / 404 MB, free: 39.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.01044, allocations: 39.19 kB / 404 MB, free: 39.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.902e-05/0.01052, allocations: 24.97 kB / 404 MB, free: 39.4 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 Bindings: time 0.001175/0.0117, allocations: 1.207 MB / 405.2 MB, free: 38.4 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0001165/0.01183, allocations: 60.91 kB / 405.3 MB, free: 38.35 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004801/0.01231, allocations: 0.572 MB / 405.9 MB, free: 37.9 MB / 318.1 MB Notification: Performance of simplify1: time 3.691e-05/0.01236, allocations: 36.08 kB / 405.9 MB, free: 37.87 MB / 318.1 MB Notification: Performance of Alias: time 0.001064/0.01343, allocations: 1.021 MB / 406.9 MB, free: 37.07 MB / 318.1 MB Notification: Performance of simplify2: time 3.21e-05/0.01347, allocations: 35.12 kB / 406.9 MB, free: 37.05 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002127/0.01369, allocations: 182.2 kB / 407.1 MB, free: 36.89 MB / 318.1 MB Notification: Performance of Events: time 0.0002755/0.01398, allocations: 224.1 kB / 407.3 MB, free: 36.74 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002798/0.01427, allocations: 276.5 kB / 407.6 MB, free: 36.53 MB / 318.1 MB Notification: Performance of Causalize: time 0.001133/0.01541, allocations: 0.8714 MB / 408.5 MB, free: 36.04 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004634/0.01588, allocations: 0.5881 MB / 409.1 MB, free: 35.43 MB / 318.1 MB Notification: Performance of Inline: time 0.0007809/0.01667, allocations: 0.9395 MB / 410 MB, free: 34.46 MB / 318.1 MB Notification: Performance of Partitioning: time 5.54e-05/0.01673, allocations: 50.38 kB / 410.1 MB, free: 34.4 MB / 318.1 MB Notification: Performance of Cleanup: time 9.716e-05/0.01684, allocations: 121 kB / 410.2 MB, free: 34.28 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_70) slice: {}; Notification: Performance of Causalize: time 0.003952/0.0208, allocations: 4.216 MB / 414.4 MB, free: 30.01 MB / 318.1 MB Notification: Performance of Tearing: time 0.0008543/0.02166, allocations: 0.9892 MB / 415.4 MB, free: 28.93 MB / 318.1 MB Notification: Performance of Initialization: time 4.21e-07/0.02167, allocations: 4 kB / 415.4 MB, free: 28.92 MB / 318.1 MB Notification: Performance of Tearing: time 5.471e-06/0.02168, allocations: 0 / 415.4 MB, free: 28.92 MB / 318.1 MB Notification: Performance of Categorize: time 1.527e-05/0.02171, allocations: 3.938 kB / 415.4 MB, free: 28.92 MB / 318.1 MB Notification: Performance of Solve: time 0.0002645/0.02198, allocations: 214.1 kB / 415.6 MB, free: 28.71 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002496/0.02223, allocations: 387.4 kB / 416 MB, free: 28.29 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: ......... 5 * 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 28 (28) {inputSignal.a, inputSignal.b, inputSignal.last, inputSignal.nextEvent, inputSignal.nextEventScaled, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $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: ........... 40 (scalar:40, 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: ........... 54 (scalar:54, 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.0001417/0.02238, allocations: 37.48 kB / 416 MB, free: 28.26 MB / 318.1 MB Notification: Performance of SimCode: time 0.001401/0.02379, allocations: 1.866 MB / 417.9 MB, free: 26.36 MB / 318.1 MB Notification: Performance of Templates: time 0.006929/0.03073, allocations: 4.106 MB / 422 MB, free: 22.27 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile (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)