Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol.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.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2400,variableFilter="Time|asm_ctrl.motor.tau_el|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") translateModel(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2400,variableFilter="Time|asm_ctrl.motor.tau_el|tabLoad.vVehicle",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 114.8 kB / 17.75 MB, free: 5.219 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.001171/0.001171, allocations: 192.6 kB / 18.68 MB, free: 4.293 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.327/1.327, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1678/0.1678, allocations: 38.05 MB / 330.6 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.075e-05, allocations: 6.219 kB / 458.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASMav_icontrol): time 0.009714/0.009753, allocations: 7.538 MB / 466.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00897/0.01878, allocations: 5.134 MB / 471.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.01989, allocations: 35.81 kB / 471.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01071/0.03062, allocations: 5.599 MB / 477.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.03277, allocations: 0.5441 MB / 477.6 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001581/0.03436, allocations: 0.5721 MB / 478.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004155/0.03853, allocations: 2.799 MB / 481 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.04001, allocations: 1.054 MB / 482 MB, free: 15.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.04144, allocations: 0.7396 MB / 482.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009535/0.04241, allocations: 0.6457 MB / 483.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001523/0.04257, allocations: 108 kB / 483.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004136/0.04672, allocations: 2.222 MB / 485.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001355/0.04809, allocations: 1.828 MB / 487.6 MB, free: 9.988 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007745/0.04887, allocations: 1.191 MB / 488.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.04918, allocations: 167.5 kB / 488.9 MB, free: 8.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.000381/0.04957, allocations: 39.81 kB / 489 MB, free: 8.578 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 231 (168) * Number of variables: 231 (165) Notification: Performance of Bindings: time 0.005495/0.05508, allocations: 5.549 MB / 494.5 MB, free: 2.848 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0005678/0.05565, allocations: 447 kB / 495 MB, free: 2.41 MB / 366.1 MB Notification: Performance of Early Inline: time 0.00269/0.05835, allocations: 2.779 MB / 497.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simplify1: time 0.0003086/0.05868, allocations: 219.6 kB / 498 MB, free: 15.37 MB / 382.1 MB Notification: Performance of Alias: time 0.004544/0.06323, allocations: 3.541 MB / 0.4897 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simplify2: time 0.0002719/0.06352, allocations: 175.7 kB / 0.4899 GB, free: 11.29 MB / 382.1 MB Notification: Performance of Events: time 0.0004004/0.06392, allocations: 354.4 kB / 0.4903 GB, free: 10.93 MB / 382.1 MB Notification: Performance of Detect States: time 0.0007823/0.06471, allocations: 0.6806 MB / 0.4909 GB, free: 10.23 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0009846/0.06571, allocations: 0.8759 MB / 0.4918 GB, free: 9.305 MB / 382.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) (asm_ctrl.motor.omega[2] - asm_ctrl.motor.w_el) * asm_ctrl.motor.psi_rd + $DER.asm_ctrl.motor.psi_rq + $FUN_8 * asm_ctrl.motor.i_rq = asm_ctrl.motor.v_rq ($RES_SIM_50)