Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.001173/0.001173, allocations: 111.7 kB / 17.75 MB, free: 5.301 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.001109/0.001109, allocations: 190 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.214/1.214, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1547/0.1547, allocations: 38.05 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.607e-05, allocations: 6.219 kB / 458.8 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterAvToGrid): time 0.006206/0.00623, allocations: 6.074 MB / 464.9 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.008463, allocations: 1.426 MB / 466.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003586/0.008833, allocations: 23.88 kB / 466.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004987/0.009338, allocations: 134.9 kB / 466.4 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008438/0.01019, allocations: 390 kB / 466.8 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.01071, allocations: 203.6 kB / 467 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001167/0.01188, allocations: 1.032 MB / 468 MB, free: 13.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002751/0.01217, allocations: 165.3 kB / 468.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007021/0.01288, allocations: 414.3 kB / 468.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005876/0.01347, allocations: 358.5 kB / 469 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.015e-05/0.01356, allocations: 36 kB / 469 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.01377, allocations: 59.86 kB / 469.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0007368/0.01451, allocations: 0.9161 MB / 470 MB, free: 11.65 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004423/0.01496, allocations: 0.6133 MB / 470.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001645/0.01513, allocations: 95.69 kB / 470.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.522e-05/0.01521, allocations: 15.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.002081/0.0173, allocations: 2.501 MB / 473.2 MB, free: 8.301 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0001889/0.0175, allocations: 171.5 kB / 473.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0008674/0.01837, allocations: 1.011 MB / 474.4 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001042/0.01848, allocations: 91.86 kB / 474.5 MB, free: 7.004 MB / 350.1 MB Notification: Performance of Alias: time 0.001511/0.02, allocations: 1.471 MB / 475.9 MB, free: 5.344 MB / 350.1 MB Notification: Performance of simplify2: time 6.936e-05/0.02008, allocations: 75.88 kB / 476 MB, free: 5.27 MB / 350.1 MB Notification: Performance of Detect States: time 0.0003064/0.02039, allocations: 299.4 kB / 476.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of Events: time 7.511e-05/0.02047, allocations: 79.89 kB / 476.4 MB, free: 4.883 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000414/0.02089, allocations: 438.1 kB / 476.8 MB, free: 4.438 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)