Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.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.TestLimiterWithLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="HfSignal.amplitude|HfSignal.falling|HfSignal.nperiod|HfSignal.offset|HfSignal.period|HfSignal.rising|HfSignal.startTime|HfSignal.width|HfSignal.y|LfSignal.amplitude|LfSignal.falling|LfSignal.nperiod|LfSignal.offset|LfSignal.period|LfSignal.rising|LfSignal.startTime|LfSignal.width|LfSignal.y|limiterWithLag.LagMax|limiterWithLag.LagMin|limiterWithLag.stateStart|limiterWithLag.u|limiterWithLag.uMax|limiterWithLag.uMin|limiterWithLag.useLag|limiterWithLag.y|sum.k.1.|sum.k.2.|sum.nin|sum.u.1.|sum.u.2.|sum.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag") translateModel(PowerGrids.Controls.Test.TestLimiterWithLag,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="HfSignal.amplitude|HfSignal.falling|HfSignal.nperiod|HfSignal.offset|HfSignal.period|HfSignal.rising|HfSignal.startTime|HfSignal.width|HfSignal.y|LfSignal.amplitude|LfSignal.falling|LfSignal.nperiod|LfSignal.offset|LfSignal.period|LfSignal.rising|LfSignal.startTime|LfSignal.width|LfSignal.y|limiterWithLag.LagMax|limiterWithLag.LagMin|limiterWithLag.stateStart|limiterWithLag.u|limiterWithLag.uMax|limiterWithLag.uMin|limiterWithLag.useLag|limiterWithLag.y|sum.k.1.|sum.k.2.|sum.nin|sum.u.1.|sum.u.2.|sum.y|time",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009631/0.0009631, allocations: 106.2 kB / 16.42 MB, free: 6.48 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.0009087/0.0009088, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.203/1.203, 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.05611/0.05611, allocations: 14.17 MB / 284.8 MB, free: 13.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.241e-05, allocations: 2.281 kB / 397.1 MB, free: 43.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLimiterWithLag): time 0.001992/0.002013, allocations: 1.762 MB / 398.9 MB, free: 42.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.002704, allocations: 0.5671 MB / 399.4 MB, free: 42.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.002772, allocations: 1.031 kB / 399.4 MB, free: 42.32 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.589e-05/0.002863, allocations: 19 kB / 399.4 MB, free: 42.3 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001112/0.00298, allocations: 33.33 kB / 399.5 MB, free: 42.28 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.00317, allocations: 61.45 kB / 399.5 MB, free: 42.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.003427, allocations: 229.2 kB / 399.8 MB, free: 42.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.003536, allocations: 31.41 kB / 399.8 MB, free: 42.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.003651, allocations: 85.58 kB / 399.9 MB, free: 42.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.003765, allocations: 90.8 kB / 400 MB, free: 42.05 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.00381, allocations: 17.19 kB / 400 MB, free: 42.05 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.003851, allocations: 21.34 kB / 400 MB, free: 42.04 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001845/0.00404, allocations: 238.1 kB / 400.2 MB, free: 41.9 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.575e-05/0.004102, allocations: 127.3 kB / 400.4 MB, free: 41.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.004149, allocations: 20.47 kB / 400.4 MB, free: 41.8 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.777e-05/0.004171, allocations: 8 kB / 400.4 MB, free: 41.8 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: 14 (12) * Number of variables: 14 (13) Notification: Performance of Bindings: time 0.0005838/0.00476, allocations: 0.7608 MB / 401.1 MB, free: 41.16 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.042e-05/0.004796, allocations: 18.09 kB / 401.2 MB, free: 41.14 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003258/0.005127, allocations: 483.7 kB / 401.6 MB, free: 40.77 MB / 318.1 MB Notification: Performance of simplify1: time 3.313e-05/0.005166, allocations: 32 kB / 401.7 MB, free: 40.75 MB / 318.1 MB Notification: Performance of Alias: time 0.0003416/0.005513, allocations: 333.3 kB / 402 MB, free: 40.46 MB / 318.1 MB Notification: Performance of simplify2: time 2.138e-05/0.005543, allocations: 27.52 kB / 402 MB, free: 40.45 MB / 318.1 MB Notification: Performance of Events: time 0.0002223/0.005771, allocations: 202.3 kB / 402.2 MB, free: 40.31 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002081/0.005985, allocations: 257.2 kB / 402.5 MB, free: 40.1 MB / 318.1 MB Notification: Performance of Partitioning: time 0.00014/0.006133, allocations: 152.3 kB / 402.6 MB, free: 40.01 MB / 318.1 MB Error: Internal error NBSlice.resolveDependency (single dependency) failed because list of scalar variables(2) {sum.u[1], sum.u[2]}, does not fit the equation size 1. Error: Internal error NBSlice.resolveDependency failed for: sum.u. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) sum.y = sum.k * sum.u ($RES_SIM_3)