Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_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 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.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_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_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.001631/0.001631, allocations: 105.6 kB / 16.42 MB, free: 6.512 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.001974/0.001975, allocations: 192.2 kB / 17.35 MB, free: 5.754 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.666/1.666, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.05995/0.05995, allocations: 14.16 MB / 284.8 MB, free: 13.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.386e-05/2.387e-05, allocations: 2.281 kB / 399.2 MB, free: 42.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.002644/0.002676, allocations: 1.87 MB / 401.1 MB, free: 41.42 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.004017, allocations: 0.8196 MB / 401.9 MB, free: 40.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.004158, allocations: 8.375 kB / 401.9 MB, free: 40.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002141/0.00438, allocations: 53.08 kB / 402 MB, free: 40.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.004507, allocations: 60.28 kB / 402 MB, free: 40.79 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000655/0.005191, allocations: 232.1 kB / 402.2 MB, free: 40.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000348/0.005547, allocations: 274.4 kB / 402.5 MB, free: 40.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.0057, allocations: 43.41 kB / 402.5 MB, free: 40.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.005838, allocations: 109.2 kB / 402.7 MB, free: 40.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.005994, allocations: 115.2 kB / 402.8 MB, free: 40.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.982e-05/0.00604, allocations: 19 kB / 402.8 MB, free: 40.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001445/0.00619, allocations: 91.89 kB / 402.9 MB, free: 40.27 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001987/0.006395, allocations: 320.8 kB / 403.2 MB, free: 40.03 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 7.888e-05/0.006482, allocations: 197.1 kB / 403.4 MB, free: 39.88 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.37e-05/0.006531, allocations: 26.84 kB / 403.4 MB, free: 39.87 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.411e-05/0.00658, allocations: 10.34 kB / 403.4 MB, free: 39.86 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: 28 (24) * Number of variables: 28 (28) Notification: Performance of Bindings: time 0.0008215/0.007407, allocations: 0.9159 MB / 404.3 MB, free: 39.08 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.311e-05/0.007448, allocations: 35.67 kB / 404.4 MB, free: 39.05 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003311/0.007785, allocations: 432.1 kB / 404.8 MB, free: 38.71 MB / 318.1 MB Notification: Performance of simplify1: time 3.165e-05/0.007825, allocations: 33.83 kB / 404.8 MB, free: 38.68 MB / 318.1 MB Notification: Performance of Alias: time 0.0007475/0.008578, allocations: 0.686 MB / 405.5 MB, free: 38.12 MB / 318.1 MB Notification: Performance of simplify2: time 2.321e-05/0.008612, allocations: 24.09 kB / 405.5 MB, free: 38.1 MB / 318.1 MB Notification: Performance of Events: time 0.0002749/0.008894, allocations: 208.3 kB / 405.7 MB, free: 37.96 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003908/0.009292, allocations: 227 kB / 406 MB, free: 37.77 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002169/0.009519, allocations: 195 kB / 406.1 MB, free: 37.62 MB / 318.1 MB Notification: Performance of Causalize: time 0.0007212/0.01025, allocations: 0.6134 MB / 406.8 MB, free: 37.32 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003882/0.01065, allocations: 0.4922 MB / 407.3 MB, free: 36.94 MB / 318.1 MB Notification: Performance of Inline: time 0.0006614/0.01131, allocations: 0.7888 MB / 408 MB, free: 36.34 MB / 318.1 MB Notification: Performance of Partitioning: time 4.59e-05/0.01137, allocations: 44.5 kB / 408.1 MB, free: 36.31 MB / 318.1 MB Notification: Performance of Cleanup: time 8.073e-05/0.01146, allocations: 107.2 kB / 408.2 MB, free: 36.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.003035/0.0145, allocations: 3.444 MB / 411.6 MB, free: 32.82 MB / 318.1 MB Notification: Performance of Tearing: time 1.073e-05/0.01452, allocations: 0 / 411.6 MB, free: 32.82 MB / 318.1 MB Notification: Performance of Initialization: time 8.82e-07/0.01453, allocations: 0 / 411.6 MB, free: 32.82 MB / 318.1 MB Notification: Performance of Tearing: time 5.77e-06/0.01454, allocations: 0 / 411.6 MB, free: 32.82 MB / 318.1 MB Notification: Performance of Categorize: time 1.603e-05/0.01456, allocations: 4 kB / 411.6 MB, free: 32.81 MB / 318.1 MB Notification: Performance of Solve: time 0.0002013/0.01477, allocations: 125.5 kB / 411.8 MB, free: 32.69 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0002446/0.01502, allocations: 350 kB / 412.1 MB, free: 32.31 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 0.0001439/0.01517, allocations: 45.23 kB / 412.1 MB, free: 32.27 MB / 318.1 MB Notification: Performance of SimCode: time 0.001332/0.01651, allocations: 1.528 MB / 413.7 MB, free: 30.72 MB / 318.1 MB Notification: Performance of Templates: time 0.005507/0.02203, allocations: 2.962 MB / 416.6 MB, free: 27.76 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.sim & ./PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.pipe 2>&1) diffSimulationResults("PowerGrids_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_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" 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.limitsAtInit,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.limitsAtInit,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