Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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.ASM_ctrlAv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|asm_ctrl.motor.i_meas.1.|asm_ctrl.motor.i_meas.2.|asm_ctrl.motor.slip|asm_ctrl.motor.tau_el|asm_ctrl.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv") translateModel(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="Time|asm_ctrl.motor.i_meas.1.|asm_ctrl.motor.i_meas.2.|asm_ctrl.motor.slip|asm_ctrl.motor.tau_el|asm_ctrl.motor.w_el",fileNamePrefix="PowerSystems_latest_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.001276/0.001276, allocations: 113 kB / 17.75 MB, free: 5.328 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.001282/0.001283, allocations: 188.6 kB / 18.68 MB, free: 4.402 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.308/1.308, 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.1905/0.1905, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.147e-05, allocations: 6.219 kB / 458.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv): time 0.008445/0.008476, allocations: 7.444 MB / 466.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007025/0.01553, allocations: 4.779 MB / 471 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005674/0.01611, allocations: 35.81 kB / 471 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008244/0.02437, allocations: 4.876 MB / 475.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.02569, allocations: 0.4896 MB / 476.4 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.02685, allocations: 0.4992 MB / 476.9 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0031/0.02996, allocations: 2.585 MB / 479.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.03125, allocations: 1.046 MB / 480.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009227/0.03218, allocations: 0.6812 MB / 481.2 MB, free: 396 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00074/0.03293, allocations: 0.6185 MB / 481.8 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.03307, allocations: 100 kB / 481.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003134/0.03621, allocations: 2.16 MB / 484.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.001182/0.03741, allocations: 1.72 MB / 485.8 MB, free: 11.77 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006968/0.03812, allocations: 1.141 MB / 486.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002199/0.03834, allocations: 167.5 kB / 487.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 0.000232/0.03858, allocations: 35.8 kB / 487.1 MB, free: 10.41 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.004877/0.04346, allocations: 5.352 MB / 492.5 MB, free: 4.879 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0004707/0.04394, allocations: 419.2 kB / 492.9 MB, free: 4.469 MB / 366.1 MB Notification: Performance of Early Inline: time 0.002607/0.04656, allocations: 2.732 MB / 495.6 MB, free: 1.695 MB / 366.1 MB Notification: Performance of simplify1: time 0.0002552/0.04683, allocations: 203.7 kB / 495.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of Alias: time 0.004302/0.05114, allocations: 3.594 MB / 499.4 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simplify2: time 0.0002/0.05135, allocations: 167.8 kB / 499.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of Events: time 0.0002318/0.05159, allocations: 220.2 kB / 499.8 MB, free: 13.14 MB / 382.1 MB Notification: Performance of Detect States: time 0.0007559/0.05236, allocations: 0.7686 MB / 0.4888 GB, free: 12.34 MB / 382.1 MB Notification: Performance of Partitioning: time 0.0008689/0.05324, allocations: 0.8244 MB / 0.4896 GB, free: 11.48 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)