Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 115.7 kB / 17.76 MB, free: 5.273 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.001162/0.001162, allocations: 186 kB / 18.68 MB, free: 4.355 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.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1645/0.1645, allocations: 38.03 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.68e-05, allocations: 5.375 kB / 458.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.006758/0.006784, allocations: 4.911 MB / 463.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002373/0.009158, allocations: 1.305 MB / 465 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003896/0.009547, allocations: 19.88 kB / 465 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005053/0.01005, allocations: 123.1 kB / 465.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008532/0.01091, allocations: 334.4 kB / 465.5 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.01135, allocations: 151.7 kB / 465.6 MB, free: 44 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009527/0.0123, allocations: 0.7673 MB / 466.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.01251, allocations: 73 kB / 466.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000521/0.01303, allocations: 298.8 kB / 466.7 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005838/0.01362, allocations: 302.9 kB / 467 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.853e-05/0.01368, allocations: 28 kB / 467.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002302/0.01391, allocations: 63.91 kB / 467.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0005874/0.0145, allocations: 0.6884 MB / 467.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003318/0.01483, allocations: 454.1 kB / 468.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.01496, allocations: 59.81 kB / 468.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.171e-05/0.01502, allocations: 19.88 kB / 468.3 MB, free: 13.3 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: 84 (56) * Number of variables: 84 (54) Notification: Performance of Bindings: time 0.001667/0.01669, allocations: 1.547 MB / 469.9 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002247/0.01691, allocations: 161.3 kB / 470 MB, free: 11.46 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0005473/0.01746, allocations: 491.3 kB / 470.5 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001638/0.01762, allocations: 123.7 kB / 470.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Alias: time 0.001189/0.01881, allocations: 0.7931 MB / 471.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001165/0.01893, allocations: 107.7 kB / 471.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002607/0.01919, allocations: 178 kB / 471.7 MB, free: 9.516 MB / 350.1 MB Notification: Performance of Events: time 6.182e-05/0.01925, allocations: 47.94 kB / 471.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000276/0.01952, allocations: 247.5 kB / 472 MB, free: 9.211 MB / 350.1 MB Error: Internal error NBSlice.resolveDependency failed because subscripts, dimensions and dependencies were not of equal length. variable subscripts(0): {} variable dimensions(2): {2, 2} equation dimensions(2): {2, 4} variable dependencies(2): {true, false} Error: Internal error NBSlice.resolveDependency failed for: $FUN_6. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (8) line.L * $DER.line.i + $FUN_6 * line.i = {{2.0 * (line.term_p.v[1] - line.v[1, 1]), line.v[1, 1] - line.v[1, 2], line.v[1, 2] - line.v[1, 3], 2.0 * (line.v[1, 3] - line.term_n.v[1])}, {2.0 * (line.term_p.v[2] - line.v[2, 1]), line.v[2, 1] - line.v[2, 2], line.v[2, 2] - line.v[2, 3], 2.0 * (line.v[2, 3] - line.term_n.v[2])}} ($RES_SIM_4)