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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001144/0.001144, allocations: 114 kB / 17.75 MB, free: 5.215 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.001042/0.001042, allocations: 196.6 kB / 18.69 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.1 MB / 224.6 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1826/0.1826, allocations: 37.98 MB / 309.9 MB, free: 5.953 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.674e-05, allocations: 2.281 kB / 432.5 MB, free: 15.72 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.006299/0.006334, allocations: 6.088 MB / 438.6 MB, free: 9.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002526/0.008895, allocations: 1.461 MB / 440 MB, free: 8.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000378/0.00929, allocations: 27.81 kB / 440.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.009867, allocations: 138.9 kB / 440.2 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008695/0.0108, allocations: 382 kB / 440.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005618/0.01137, allocations: 195.5 kB / 440.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009685/0.01235, allocations: 1.04 MB / 441.8 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002979/0.01266, allocations: 165.3 kB / 442 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005441/0.01321, allocations: 414.2 kB / 442.4 MB, free: 5.797 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004819/0.01371, allocations: 350.6 kB / 442.7 MB, free: 5.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.566e-05/0.01377, allocations: 36 kB / 442.7 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001627/0.01394, allocations: 55.92 kB / 442.8 MB, free: 5.363 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005383/0.01449, allocations: 0.9161 MB / 443.7 MB, free: 4.438 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002829/0.01478, allocations: 0.6209 MB / 444.3 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.743e-05/0.01488, allocations: 87.75 kB / 444.4 MB, free: 3.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001057/0.015, allocations: 19.86 kB / 444.4 MB, free: 3.703 MB / 318.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.001895/0.0169, allocations: 2.515 MB / 446.9 MB, free: 1.066 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0002072/0.01711, allocations: 171.6 kB / 447.1 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0008524/0.01797, allocations: 1.003 MB / 448.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simplify1: time 0.0001351/0.01812, allocations: 99.84 kB / 448.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Alias: time 0.001929/0.02006, allocations: 1.46 MB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simplify2: time 8.903e-05/0.02017, allocations: 83.86 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of Events: time 9.579e-05/0.02027, allocations: 79.92 kB / 449.8 MB, free: 13.96 MB / 334.1 MB Notification: Performance of Detect States: time 0.0004199/0.0207, allocations: 303.4 kB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0006214/0.02133, allocations: 434.1 kB / 450.6 MB, free: 13.2 MB / 334.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)