Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par.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.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 119.7 kB / 17.76 MB, free: 5.293 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.0009742/0.0009742, allocations: 186 kB / 18.69 MB, free: 4.371 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.26/1.26, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1682/0.1682, allocations: 38.04 MB / 330.6 MB, free: 8.656 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/1.783e-05, allocations: 2.281 kB / 458.8 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCmotor_par): time 0.007061/0.007079, allocations: 5.703 MB / 464.5 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003181/0.01026, allocations: 2.13 MB / 466.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002704/0.01053, allocations: 19.88 kB / 466.6 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005993/0.01113, allocations: 174.8 kB / 466.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008752/0.01201, allocations: 425.6 kB / 467.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.01259, allocations: 254.5 kB / 467.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.01368, allocations: 0.9463 MB / 468.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.01404, allocations: 293.3 kB / 468.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/0.01446, allocations: 358.6 kB / 469 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003463/0.01481, allocations: 298.7 kB / 469.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.743e-05/0.01488, allocations: 48 kB / 469.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004403/0.01532, allocations: 239.7 kB / 469.6 MB, free: 12 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0006555/0.01597, allocations: 0.8928 MB / 470.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.000362/0.01634, allocations: 0.5782 MB / 471.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.01645, allocations: 87.75 kB / 471.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.0001015/0.01655, allocations: 16 kB / 471.2 MB, free: 10.41 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: 106 (87) * Number of variables: 106 (84) Notification: Performance of Bindings: time 0.001921/0.01847, allocations: 2.048 MB / 473.2 MB, free: 8.23 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.000257/0.01873, allocations: 224.8 kB / 473.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0007322/0.01946, allocations: 0.7528 MB / 474.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simplify1: time 0.0001805/0.01964, allocations: 155.6 kB / 474.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of Alias: time 0.001625/0.02127, allocations: 1.289 MB / 475.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simplify2: time 0.0001265/0.02139, allocations: 122.3 kB / 475.8 MB, free: 5.395 MB / 350.1 MB Notification: Performance of Detect States: time 0.0004665/0.02186, allocations: 261.3 kB / 476 MB, free: 5.094 MB / 350.1 MB Notification: Performance of Events: time 0.0001186/0.02198, allocations: 83.91 kB / 476.1 MB, free: 5.012 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0004391/0.02242, allocations: 398.2 kB / 476.5 MB, free: 4.578 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_3. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) {0.0, dcm_par.motor.c.L_md * dcm_par.motor.w_el * dcm_par.motor.i_f} + $FUN_3 * $DER.$AUX_1 + $FUN_4 * {dcm_par.motor.i_f, dcm_par.motor.i} = {dcm_par.motor.v_f, dcm_par.motor.v} ($RES_SIM_28)