Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PowerAngle.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.PowerAngle,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.PowerAngle") translateModel(PowerSystems.Examples.AC3ph.Generation.PowerAngle,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.PowerAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001286, allocations: 113.4 kB / 17.75 MB, free: 5.336 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.001324/0.001324, allocations: 184.2 kB / 18.68 MB, free: 4.414 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.238/1.238, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1566/0.1566, allocations: 38.04 MB / 330.6 MB, free: 8.77 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.176e-05/2.178e-05, allocations: 2.281 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PowerAngle): time 0.00823/0.00826, allocations: 7.44 MB / 466.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004664/0.01295, allocations: 2.995 MB / 469.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.01352, allocations: 27.81 kB / 469.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002058/0.01559, allocations: 0.7771 MB / 470 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001698/0.01737, allocations: 0.7037 MB / 470.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009027/0.01828, allocations: 367.2 kB / 471.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.02016, allocations: 1.477 MB / 472.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008286/0.021, allocations: 0.5523 MB / 473.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008861/0.0219, allocations: 0.5525 MB / 473.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008712/0.02278, allocations: 0.502 MB / 474.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.02293, allocations: 60 kB / 474.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.02395, allocations: 0.542 MB / 474.8 MB, free: 6.875 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001067/0.02503, allocations: 1.238 MB / 476 MB, free: 5.625 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000648/0.02568, allocations: 0.7947 MB / 476.8 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.02593, allocations: 119.6 kB / 476.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001207/0.02606, allocations: 15.94 kB / 476.9 MB, free: 4.688 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: 223 (130) * Number of variables: 223 (118) Notification: Performance of Bindings: time 0.003521/0.02959, allocations: 3.405 MB / 480.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0003461/0.02994, allocations: 223.5 kB / 480.6 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of Early Inline: time 0.002095/0.03205, allocations: 1.861 MB / 482.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplify1: time 0.0002149/0.03227, allocations: 147.8 kB / 482.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of Alias: time 0.002116/0.0344, allocations: 1.823 MB / 484.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001863/0.0346, allocations: 139.7 kB / 484.5 MB, free: 12.74 MB / 366.1 MB Notification: Performance of Detect States: time 0.0005217/0.03513, allocations: 464.4 kB / 485 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Events: time 0.0001757/0.03531, allocations: 123.9 kB / 485.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of Partitioning: time 0.000699/0.03602, allocations: 0.6323 MB / 485.7 MB, free: 11.49 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: generator.v[1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (3) generator.v_s = {generator.Rot_dq[1, 1] * generator.v[1] + generator.Rot_dq[2, 1] * generator.v[2], generator.Rot_dq[1, 2] * generator.v[1] + generator.Rot_dq[2, 2] * generator.v[2], generator.v[3]} ($RES_SIM_54)