Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 115.8 kB / 17.76 MB, free: 5.324 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.001297/0.001297, allocations: 189.9 kB / 18.68 MB, free: 4.402 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1674/0.1674, allocations: 38.03 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.217e-05/2.219e-05, allocations: 2.281 kB / 458.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005358/0.005388, allocations: 4.234 MB / 463 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.008783, allocations: 2.516 MB / 465.5 MB, free: 152 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002045/0.009005, allocations: 11.94 kB / 465.5 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009926/0.01001, allocations: 342.5 kB / 465.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007445/0.0108, allocations: 330.6 kB / 466.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008644/0.01168, allocations: 393.9 kB / 466.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006455/0.01234, allocations: 0.5922 MB / 467.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003343/0.01268, allocations: 189 kB / 467.3 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004096/0.0131, allocations: 250.9 kB / 467.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.01332, allocations: 187.2 kB / 467.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.344e-05/0.0134, allocations: 32 kB / 467.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007504/0.01415, allocations: 462.9 kB / 468.3 MB, free: 13.4 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0003859/0.01455, allocations: 0.5297 MB / 468.8 MB, free: 12.87 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001955/0.01475, allocations: 347.4 kB / 469.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.349e-05/0.01482, allocations: 47.81 kB / 469.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.122e-05/0.01489, allocations: 12 kB / 469.2 MB, free: 12.46 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: 61 (46) * Number of variables: 61 (45) Notification: Performance of Bindings: time 0.001484/0.01638, allocations: 1.502 MB / 470.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001072/0.0165, allocations: 70.92 kB / 470.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0009467/0.01745, allocations: 0.9092 MB / 471.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of simplify1: time 6.114e-05/0.01752, allocations: 51.86 kB / 471.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of Alias: time 0.001175/0.01871, allocations: 0.9031 MB / 472.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of simplify2: time 5.346e-05/0.01877, allocations: 47.92 kB / 472.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of Events: time 0.0001928/0.01897, allocations: 133.9 kB / 472.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Detect States: time 0.000355/0.01934, allocations: 283.7 kB / 473.1 MB, free: 8.297 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0003091/0.01966, allocations: 283.6 kB / 473.4 MB, free: 8 MB / 350.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 1 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: inverter.terminal.theta[1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) inverter.terminal.i = {inverter.I * cos(inverter.terminal.theta[1]), inverter.I * sin(inverter.terminal.theta[1])} ($RES_SIM_10)