Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.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.Rectifier,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.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,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.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 110.6 kB / 17.75 MB, free: 5.312 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.0009438/0.0009439, allocations: 183.1 kB / 18.68 MB, free: 4.398 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.329/1.329, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1692/0.1692, allocations: 38.04 MB / 330.6 MB, free: 8.734 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.079e-05, allocations: 5.375 kB / 458.8 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.0066/0.006629, allocations: 6.265 MB / 465 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.009074, allocations: 1.414 MB / 466.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.009353, allocations: 27.81 kB / 466.5 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004659/0.009827, allocations: 134.9 kB / 466.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000767/0.01064, allocations: 417.9 kB / 467 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.01105, allocations: 195.6 kB / 467.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.01211, allocations: 1.102 MB / 468.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003204/0.01244, allocations: 210.9 kB / 468.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005455/0.013, allocations: 458.2 kB / 469 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005521/0.01356, allocations: 398.5 kB / 469.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.379e-05/0.01363, allocations: 44 kB / 469.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.0138, allocations: 59.94 kB / 469.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006848/0.0145, allocations: 0.9478 MB / 470.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000385/0.01489, allocations: 0.6097 MB / 471 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.01499, allocations: 87.69 kB / 471.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.06e-05/0.01508, allocations: 16 kB / 471.1 MB, free: 10.48 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: 135 (91) * Number of variables: 135 (89) Notification: Performance of Bindings: time 0.002572/0.01766, allocations: 2.716 MB / 473.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0002054/0.01787, allocations: 151.7 kB / 474 MB, free: 7.5 MB / 350.1 MB Notification: Performance of Early Inline: time 0.001215/0.0191, allocations: 1.249 MB / 475.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001015/0.01921, allocations: 79.88 kB / 475.3 MB, free: 6.145 MB / 350.1 MB Notification: Performance of Alias: time 0.001675/0.02089, allocations: 1.443 MB / 476.8 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simplify2: time 9.015e-05/0.02099, allocations: 75.89 kB / 476.8 MB, free: 4.461 MB / 350.1 MB Notification: Performance of Events: time 0.0001338/0.02113, allocations: 115.9 kB / 476.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of Detect States: time 0.00041/0.02155, allocations: 370.6 kB / 477.3 MB, free: 3.973 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0005231/0.02208, allocations: 0.4903 MB / 477.8 MB, free: 3.465 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_4. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) ind.L * $DER.ind.i + $FUN_4 * ind.i = ind.v ($RES_SIM_50)