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.001223/0.001223, allocations: 115.8 kB / 17.76 MB, free: 5.336 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.00138/0.00138, allocations: 185.8 kB / 18.68 MB, free: 4.414 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.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1629/0.1629, allocations: 38.03 MB / 330.6 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.193e-05, allocations: 2.281 kB / 458.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.006965/0.006987, allocations: 6.09 MB / 464.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.009195, allocations: 1.422 MB / 466.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.009409, allocations: 27.81 kB / 466.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.009814, allocations: 138.9 kB / 466.4 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006456/0.01046, allocations: 390 kB / 466.8 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004018/0.01086, allocations: 199.7 kB / 467 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009293/0.01179, allocations: 1.036 MB / 468.1 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.012, allocations: 97.36 kB / 468.2 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.01246, allocations: 410.3 kB / 468.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004614/0.01292, allocations: 362.6 kB / 468.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.005e-05/0.01298, allocations: 36 kB / 468.9 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.01315, allocations: 51.94 kB / 469 MB, free: 12.61 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006734/0.01382, allocations: 0.9199 MB / 469.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003818/0.0142, allocations: 0.6132 MB / 470.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.01431, allocations: 91.69 kB / 470.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.289e-05/0.01438, allocations: 19.88 kB / 470.6 MB, free: 10.95 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.001937/0.01632, allocations: 2.076 MB / 472.7 MB, free: 8.738 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.000267/0.01658, allocations: 233.4 kB / 472.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0007279/0.01731, allocations: 0.7489 MB / 473.7 MB, free: 7.734 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001968/0.01751, allocations: 171.5 kB / 473.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of Alias: time 0.001422/0.01893, allocations: 1.088 MB / 474.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001634/0.01909, allocations: 151.6 kB / 475.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002983/0.01939, allocations: 247.1 kB / 475.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of Events: time 8.101e-05/0.01947, allocations: 79.91 kB / 475.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004483/0.01992, allocations: 421.9 kB / 475.8 MB, free: 5.285 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)