Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,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.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,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.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 115.7 kB / 17.75 MB, free: 5.32 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.0009505/0.0009505, allocations: 190 kB / 18.69 MB, free: 4.391 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.201/1.201, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1569/0.1569, allocations: 38.05 MB / 330.6 MB, free: 8.727 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.117e-05/1.119e-05, allocations: 2.281 kB / 458.8 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.004129/0.004149, allocations: 3.444 MB / 462.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001854/0.006014, allocations: 1.45 MB / 463.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.006153, allocations: 7.938 kB / 463.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006998/0.006859, allocations: 260.6 kB / 463.9 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005656/0.007439, allocations: 274.9 kB / 464.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.007722, allocations: 111.7 kB / 464.3 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004306/0.008162, allocations: 379 kB / 464.7 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.008408, allocations: 89.48 kB / 464.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.008662, allocations: 147.3 kB / 464.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.008844, allocations: 111.5 kB / 465 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.008873, allocations: 8 kB / 465 MB, free: 0.6328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.009281, allocations: 259.3 kB / 465.3 MB, free: 388 kB / 334.1 MB Notification: Performance of combineBinaries: time 0.0002206/0.00951, allocations: 297 kB / 465.6 MB, free: 88 kB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001503/0.009667, allocations: 209.6 kB / 465.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.009715, allocations: 23.94 kB / 465.8 MB, free: 15.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.981e-05/0.00975, allocations: 4 kB / 465.8 MB, free: 15.85 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.0009055/0.01066, allocations: 0.9057 MB / 466.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of FunctionAlias: time 5.001e-05/0.01072, allocations: 39.84 kB / 466.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005131/0.01124, allocations: 0.5139 MB / 467.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of simplify1: time 5.426e-05/0.0113, allocations: 35.94 kB / 467.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of Alias: time 0.0006/0.01191, allocations: 0.4953 MB / 467.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of simplify2: time 4.081e-05/0.01196, allocations: 23.95 kB / 467.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Detect States: time 0.0001822/0.01215, allocations: 139.9 kB / 467.9 MB, free: 13.47 MB / 350.1 MB Notification: Performance of Events: time 4.402e-05/0.0122, allocations: 31.97 kB / 468 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001805/0.01238, allocations: 173 kB / 468.1 MB, free: 13.25 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)