Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|load.i.1.|load.i.2.|load.p.1.|load.p.2.|load.v.1.|load.v.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 113.1 kB / 17.76 MB, free: 5.301 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.001454/0.001454, allocations: 184.6 kB / 18.69 MB, free: 4.375 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.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1693/0.1693, allocations: 38.05 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.36e-05, allocations: 2.281 kB / 458.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.AdmittanceTest): time 0.004392/0.004424, allocations: 3.437 MB / 462.2 MB, free: 3.457 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.006389, allocations: 1.446 MB / 463.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001304/0.006533, allocations: 8 kB / 463.7 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008955/0.007435, allocations: 262.9 kB / 463.9 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006632/0.008108, allocations: 279 kB / 464.2 MB, free: 1.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.008439, allocations: 111.7 kB / 464.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.008854, allocations: 371 kB / 464.7 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.009113, allocations: 97.48 kB / 464.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.009335, allocations: 147.3 kB / 464.9 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.009501, allocations: 115.5 kB / 465 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.00953, allocations: 12 kB / 465 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003338/0.00987, allocations: 251.3 kB / 465.3 MB, free: 392 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002483/0.01013, allocations: 297.1 kB / 465.6 MB, free: 92 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001562/0.01029, allocations: 213.6 kB / 465.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.997e-05/0.01034, allocations: 27.94 kB / 465.8 MB, free: 15.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.907e-05/0.01037, allocations: 4 kB / 465.8 MB, free: 15.84 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: 49 (33) * Number of variables: 49 (32) Notification: Performance of Bindings: time 0.0009395/0.01132, allocations: 0.9019 MB / 466.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FunctionAlias: time 4.347e-05/0.01137, allocations: 31.75 kB / 466.7 MB, free: 14.81 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005407/0.01191, allocations: 0.5216 MB / 467.3 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simplify1: time 3.978e-05/0.01196, allocations: 35.94 kB / 467.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Alias: time 0.0007408/0.01271, allocations: 0.4991 MB / 467.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simplify2: time 4.575e-05/0.01277, allocations: 27.95 kB / 467.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001896/0.01297, allocations: 128.1 kB / 467.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Events: time 4.234e-05/0.01302, allocations: 31.95 kB / 468 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001907/0.01322, allocations: 173 kB / 468.1 MB, free: 13.26 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: source.terminal.theta[1]. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) source.terminal.v = {source.V * cos(source.terminal.theta[1]), source.V * sin(source.terminal.theta[1])} ($RES_SIM_15)