Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv.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.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 109.5 kB / 17.75 MB, free: 5.324 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.002752/0.002752, allocations: 184.2 kB / 18.68 MB, free: 4.41 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.932/1.932, allocations: 205.1 MB / 224.5 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.1955/0.1955, allocations: 37.99 MB / 309.9 MB, free: 5.965 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.136e-05, allocations: 2.281 kB / 432.5 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv): time 0.01386/0.0139, allocations: 7.45 MB / 439.9 MB, free: 8.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01155/0.02553, allocations: 4.835 MB / 444.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002979/0.02856, allocations: 39.75 kB / 444.8 MB, free: 3.344 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeComponents: time 0.01545/0.04407, allocations: 4.858 MB / 449.7 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.04734, allocations: 0.5012 MB / 450.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.04951, allocations: 0.4975 MB / 450.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005817/0.05534, allocations: 2.585 MB / 453.2 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.05755, allocations: 1.042 MB / 454.3 MB, free: 9.828 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.05929, allocations: 0.6812 MB / 455 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001222/0.06053, allocations: 0.6263 MB / 455.6 MB, free: 8.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.06076, allocations: 103.9 kB / 455.7 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006338/0.06711, allocations: 2.16 MB / 457.9 MB, free: 6.25 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.002365/0.06951, allocations: 1.728 MB / 459.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.001139/0.07067, allocations: 1.149 MB / 460.7 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.07114, allocations: 163.4 kB / 460.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0005724/0.07172, allocations: 35.88 kB / 460.9 MB, free: 3.145 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 (171) * Number of variables: 226 (168) Notification: Performance of Bindings: time 0.005856/0.0776, allocations: 5.233 MB / 466.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of FunctionAlias: time 0.0007393/0.07835, allocations: 0.5291 MB / 466.7 MB, free: 13.2 MB / 350.1 MB Notification: Performance of Early Inline: time 0.002945/0.0813, allocations: 2.736 MB / 469.4 MB, free: 10.42 MB / 350.1 MB Notification: Performance of simplify1: time 0.0003977/0.08172, allocations: 207.7 kB / 469.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of Alias: time 0.005513/0.08724, allocations: 3.597 MB / 473.2 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simplify2: time 0.0003742/0.08764, allocations: 171.8 kB / 473.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of Events: time 0.0002935/0.08794, allocations: 216.2 kB / 473.6 MB, free: 5.863 MB / 350.1 MB Notification: Performance of Detect States: time 0.0009425/0.0889, allocations: 0.7609 MB / 474.4 MB, free: 5.074 MB / 350.1 MB Notification: Performance of Partitioning: time 0.001127/0.09003, allocations: 0.8322 MB / 475.2 MB, free: 4.199 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_19. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [ARRY] (2) asm_ctrl.motor.psi_s = $FUN_19 * asm_ctrl.motor.i[1:2] + {asm_ctrl.motor.L_m * asm_ctrl.motor.i_rd, asm_ctrl.motor.L_m * asm_ctrl.motor.i_rq} ($RES_SIM_56)