Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.powerAngle|sensor.p.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001218, allocations: 109.1 kB / 17.75 MB, free: 5.352 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.0009429/0.000943, allocations: 192.6 kB / 18.68 MB, free: 4.43 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.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1682/0.1682, allocations: 38.04 MB / 330.6 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.678e-05, allocations: 2.281 kB / 458.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007744/0.007768, allocations: 7.518 MB / 466.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004435/0.01222, allocations: 2.972 MB / 469.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.01266, allocations: 31.75 kB / 469.3 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.01435, allocations: 0.735 MB / 470 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001389/0.01578, allocations: 0.6997 MB / 470.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007745/0.01657, allocations: 374.1 kB / 471.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00152/0.0181, allocations: 1.489 MB / 472.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006652/0.01878, allocations: 0.5292 MB / 473.1 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006035/0.01939, allocations: 0.5525 MB / 473.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006012/0.02, allocations: 0.5098 MB / 474.2 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.02011, allocations: 56 kB / 474.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009461/0.02107, allocations: 0.5382 MB / 474.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001016/0.02209, allocations: 1.284 MB / 476.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005345/0.02263, allocations: 0.8294 MB / 476.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.02277, allocations: 115.6 kB / 477 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001259/0.0229, allocations: 19.88 kB / 477 MB, free: 4.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 (131) * Number of variables: 222 (122) Notification: Performance of Bindings: time 0.003118/0.02603, allocations: 3.479 MB / 480.5 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002976/0.02633, allocations: 223.7 kB / 480.7 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001927/0.02827, allocations: 1.834 MB / 482.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplify1: time 0.0001917/0.02847, allocations: 151.8 kB / 482.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of Alias: time 0.002274/0.03075, allocations: 1.938 MB / 484.6 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001421/0.03091, allocations: 131.8 kB / 484.8 MB, free: 12.44 MB / 366.1 MB Notification: Performance of Events: time 0.0001188/0.03103, allocations: 127.8 kB / 484.9 MB, free: 12.31 MB / 366.1 MB Notification: Performance of Detect States: time 0.0005351/0.03158, allocations: 460.5 kB / 485.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0006697/0.03226, allocations: 0.6167 MB / 486 MB, free: 11.2 MB / 366.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: sensor1.term_p.v[2]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) sensor1.p = {sensor1.term_p.v[1:2] * sensor1.term_p.i[1:2], -{-sensor1.term_p.v[2], sensor1.term_p.v[1]} * sensor1.term_p.i[1:2], sensor1.term_p.v[3] * sensor1.term_p.i[3]} / sensor1.S_base ($RES_SIM_21)