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 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.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.001172/0.001172, allocations: 115.6 kB / 17.75 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.00126/0.00126, allocations: 181.9 kB / 18.68 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.245/1.245, 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/package.mo): time 0.1626/0.1626, allocations: 38.03 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.283e-05/2.283e-05, allocations: 2.281 kB / 458.8 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv): time 0.009294/0.009317, allocations: 7.444 MB / 466.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007241/0.01656, allocations: 4.802 MB / 471 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006886/0.01725, allocations: 35.81 kB / 471 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008996/0.02624, allocations: 4.897 MB / 475.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.02764, allocations: 0.5091 MB / 476.4 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.02893, allocations: 0.4944 MB / 476.9 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003492/0.03242, allocations: 2.585 MB / 479.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001504/0.03393, allocations: 0.8825 MB / 480.4 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.0351, allocations: 0.689 MB / 481.1 MB, free: 464 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.0362, allocations: 0.6107 MB / 481.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000246/0.03645, allocations: 104 kB / 481.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003774/0.04022, allocations: 2.168 MB / 484 MB, free: 13.57 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001867/0.04209, allocations: 1.728 MB / 485.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009946/0.04309, allocations: 1.141 MB / 486.8 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004211/0.04351, allocations: 163.5 kB / 487 MB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.0002879/0.0438, allocations: 35.81 kB / 487 MB, free: 10.47 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: 226 (171) * Number of variables: 226 (168) Notification: Performance of Bindings: time 0.004486/0.04828, allocations: 4.107 MB / 491.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0008082/0.04909, allocations: 0.5434 MB / 491.7 MB, free: 5.617 MB / 366.1 MB Notification: Performance of Early Inline: time 0.002463/0.05155, allocations: 2.01 MB / 493.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simplify1: time 0.0006746/0.05223, allocations: 323.4 kB / 494 MB, free: 3.215 MB / 366.1 MB Notification: Performance of Alias: time 0.003683/0.05591, allocations: 2.574 MB / 496.6 MB, free: 256 kB / 366.1 MB Notification: Performance of simplify2: time 0.0003882/0.0563, allocations: 247.5 kB / 496.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of Detect States: time 0.0006939/0.05699, allocations: 499.3 kB / 497.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of Events: time 0.0003621/0.05735, allocations: 203.7 kB / 497.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0009524/0.05831, allocations: 0.8202 MB / 498.3 MB, free: 14.38 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_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)