Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,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|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=480,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|integrator1.I.initType|integrator1.I.k|integrator1.I.u|integrator1.I.y|integrator1.I.y_start|integrator1.initType|integrator1.k|integrator1.lim.homotopyType|integrator1.lim.limitsAtInit|integrator1.lim.strict|integrator1.lim.u|integrator1.lim.uMax|integrator1.lim.uMin|integrator1.lim.y|integrator1.strict|integrator1.u|integrator1.y|integrator1.yMax|integrator1.yMin|integrator1.yStart|integrator2.I.initType|integrator2.I.k|integrator2.I.u|integrator2.I.y|integrator2.I.y_start|integrator2.initType|integrator2.k|integrator2.lim.homotopyType|integrator2.lim.limitsAtInit|integrator2.lim.strict|integrator2.lim.u|integrator2.lim.uMax|integrator2.lim.uMin|integrator2.lim.y|integrator2.strict|integrator2.u|integrator2.y|integrator2.yMax|integrator2.yMin|integrator2.yStart|integratorAnalyticSolution.y|neg.k|neg.u|neg.y|time",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 114.1 kB / 16.43 MB, free: 6.469 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.001054/0.001054, allocations: 185.5 kB / 17.36 MB, free: 5.723 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.128/1.128, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.0671/0.0671, allocations: 16.78 MB / 308 MB, free: 14.39 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.115e-05, allocations: 4.953 kB / 429.3 MB, free: 8.527 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.002057/0.002087, allocations: 1.85 MB / 431.2 MB, free: 6.656 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009951/0.003095, allocations: 0.7753 MB / 431.9 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.003229, allocations: 4 kB / 431.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.003404, allocations: 47.7 kB / 432 MB, free: 5.824 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.003531, allocations: 71.55 kB / 432.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005355/0.004073, allocations: 219.5 kB / 432.3 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.004334, allocations: 275.4 kB / 432.5 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.00444, allocations: 57.58 kB / 432.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.818e-05/0.004544, allocations: 103.6 kB / 432.7 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.004658, allocations: 107.6 kB / 432.8 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.004691, allocations: 20 kB / 432.8 MB, free: 4.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.004799, allocations: 91.92 kB / 432.9 MB, free: 4.898 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001314/0.004937, allocations: 320.3 kB / 433.2 MB, free: 4.582 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 4.492e-05/0.004987, allocations: 181.2 kB / 433.4 MB, free: 4.402 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.005026, allocations: 31.94 kB / 433.4 MB, free: 4.371 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.409e-05/0.005065, allocations: 15.88 kB / 433.5 MB, free: 4.355 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: 28 (24) * Number of variables: 28 (28) Notification: Performance of Bindings: time 0.0005547/0.005624, allocations: 0.9044 MB / 434.4 MB, free: 3.344 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.536e-05/0.005666, allocations: 31.91 kB / 434.4 MB, free: 3.312 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002519/0.005922, allocations: 436.1 kB / 434.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simplify1: time 2.521e-05/0.005953, allocations: 31.94 kB / 434.8 MB, free: 2.828 MB / 302.1 MB Notification: Performance of Alias: time 0.0005569/0.006515, allocations: 0.677 MB / 435.5 MB, free: 2.027 MB / 302.1 MB Notification: Performance of simplify2: time 2.27e-05/0.006547, allocations: 19.95 kB / 435.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002118/0.006764, allocations: 160.1 kB / 435.7 MB, free: 1.836 MB / 302.1 MB Notification: Performance of Events: time 0.0002247/0.006997, allocations: 213.4 kB / 435.9 MB, free: 1.625 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001503/0.007154, allocations: 204.4 kB / 436.1 MB, free: 1.395 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004929/0.007653, allocations: 0.6161 MB / 436.7 MB, free: 0.75 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000285/0.007946, allocations: 0.5057 MB / 437.2 MB, free: 220 kB / 302.1 MB Notification: Performance of Inline: time 0.000683/0.008636, allocations: 0.7863 MB / 438 MB, free: 15.39 MB / 318.1 MB Notification: Performance of Partitioning: time 4.402e-05/0.00869, allocations: 42.38 kB / 438.1 MB, free: 15.34 MB / 318.1 MB Notification: Performance of Cleanup: time 9.74e-05/0.008793, allocations: 112 kB / 438.2 MB, free: 15.23 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_50) slice: {}; Notification: Performance of Causalize: time 0.003558/0.01236, allocations: 3.438 MB / 441.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Tearing: time 1.139e-05/0.01238, allocations: 0 / 441.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Initialization: time 3.31e-07/0.01238, allocations: 0 / 441.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of Tearing: time 4.659e-06/0.01239, allocations: 7.938 kB / 441.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Categorize: time 8.726e-06/0.01241, allocations: 0 / 441.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of Solve: time 0.0001808/0.01259, allocations: 133.5 kB / 441.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002587/0.01286, allocations: 346.2 kB / 442.1 MB, free: 11.2 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) {integrator1.lim.simplifiedExpr, integrator2.lim.simplifiedExpr} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 26 (26) {inputSignal.a, inputSignal.b, inputSignal.last, inputSignal.nextEvent, inputSignal.nextEventScaled, $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_5, $SEV_4, $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: ........... 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: ........... 44 (scalar:44, 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: ........... 44 (scalar:44, 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 7.477e-05/0.01294, allocations: 47.83 kB / 442.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of SimCode: time 0.001105/0.01405, allocations: 1.518 MB / 443.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of Templates: time 0.005009/0.01907, allocations: 2.873 MB / 446.5 MB, free: 6.738 MB / 318.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1) diffSimulationResults("PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerGrids/PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable integrator1.lim.limitsAtInit in file PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat. Warning: Get data of variable integrator1.lim.limitsAtInit from file PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat failed! Error: Could not read variable integrator2.lim.limitsAtInit in file PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat. Warning: Get data of variable integrator2.lim.limitsAtInit from file PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter_res.mat failed! " Variables in the reference: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,integrator1.I.initType,integrator1.I.k,integrator1.I.u,integrator1.I.y,integrator1.I.y_start,integrator1.initType,integrator1.k,integrator1.lim.homotopyType,integrator1.lim.limitsAtInit,integrator1.lim.strict,integrator1.lim.u,integrator1.lim.uMax,integrator1.lim.uMin,integrator1.lim.y,integrator1.strict,integrator1.u,integrator1.y,integrator1.yMax,integrator1.yMin,integrator1.yStart,integrator2.I.initType,integrator2.I.k,integrator2.I.u,integrator2.I.y,integrator2.I.y_start,integrator2.initType,integrator2.k,integrator2.lim.homotopyType,integrator2.lim.limitsAtInit,integrator2.lim.strict,integrator2.lim.u,integrator2.lim.uMax,integrator2.lim.uMin,integrator2.lim.y,integrator2.strict,integrator2.u,integrator2.y,integrator2.yMax,integrator2.yMin,integrator2.yStart,integratorAnalyticSolution.y,neg.k,neg.u,neg.y,time Variables in the result: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.timeScaled,inputSignal.y,integrator1.I.initType,integrator1.I.k,integrator1.I.u,integrator1.I.y,integrator1.I.y_start,integrator1.initType,integrator1.k,integrator1.lim.homotopyType,integrator1.lim.simplifiedExpr,integrator1.lim.strict,integrator1.lim.u,integrator1.lim.uMax,integrator1.lim.uMin,integrator1.lim.y,integrator1.strict,integrator1.u,integrator1.y,integrator1.yMax,integrator1.yMin,integrator1.yStart,integrator2.I.initType,integrator2.I.k,integrator2.I.u,integrator2.I.y,integrator2.I.y_start,integrator2.initType,integrator2.k,integrator2.lim.homotopyType,integrator2.lim.simplifiedExpr,integrator2.lim.strict,integrator2.lim.u,integrator2.lim.uMax,integrator2.lim.uMin,integrator2.lim.y,integrator2.strict,integrator2.u,integrator2.y,integrator2.yMax,integrator2.yMin,integrator2.yStart,integratorAnalyticSolution.y,neg.k,neg.u,neg.y,time