Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid.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.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 101.4 kB / 17.74 MB, free: 5.309 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.001171/0.001171, allocations: 196.3 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.385/1.385, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1746/0.1746, allocations: 38.04 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.31e-05, allocations: 5.797 kB / 458.8 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.008591/0.008624, allocations: 6.078 MB / 464.8 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003211/0.01186, allocations: 1.426 MB / 466.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000622/0.0125, allocations: 23.88 kB / 466.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006511/0.01316, allocations: 134.9 kB / 466.4 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.0144, allocations: 390 kB / 466.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000696/0.01517, allocations: 199.6 kB / 467 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001612/0.01679, allocations: 1.028 MB / 468 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.01716, allocations: 169.3 kB / 468.2 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.01824, allocations: 418.3 kB / 468.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008682/0.01912, allocations: 358.5 kB / 469 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.01925, allocations: 36 kB / 469 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003102/0.01956, allocations: 59.91 kB / 469 MB, free: 12.57 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0009211/0.02049, allocations: 0.9122 MB / 470 MB, free: 11.64 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005642/0.02107, allocations: 0.6133 MB / 470.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.0213, allocations: 91.69 kB / 470.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001253/0.02144, allocations: 11.94 kB / 470.7 MB, free: 10.92 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: 123 (93) * Number of variables: 123 (89) Notification: Performance of Bindings: time 0.002751/0.0242, allocations: 2.513 MB / 473.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0003534/0.02456, allocations: 171.5 kB / 473.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001231/0.0258, allocations: 1.003 MB / 474.4 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001808/0.02599, allocations: 99.86 kB / 474.5 MB, free: 6.992 MB / 350.1 MB Notification: Performance of Alias: time 0.002029/0.02803, allocations: 1.456 MB / 475.9 MB, free: 5.348 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001573/0.0282, allocations: 83.88 kB / 476 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004268/0.02864, allocations: 314.1 kB / 476.3 MB, free: 4.945 MB / 350.1 MB Notification: Performance of Events: time 0.0001537/0.0288, allocations: 75.91 kB / 476.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0005998/0.02941, allocations: 434.1 kB / 476.8 MB, free: 4.43 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(1): {2} variable dependencies(2): {true, false} Error: Internal error NBSlice.resolveDependency failed for: $FUN_8. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) ind.L * $DER.ind.i + $FUN_8 * ind.i = ind.v ($RES_SIM_18)