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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 81.97 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1659/0.1659, allocations: 38 MB / 348 MB, free: 7.762 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.519e-05/1.535e-05, allocations: 0 / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 56.34 MB / 466.9 MB, free: 6.551 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5272, allocations: 128.8 MB / 0.5818 GB, free: 14.04 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.5275, allocations: 91.95 kB / 0.5818 GB, free: 13.95 MB / 427.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC3ph/Machines.mo:2208:3-2208:47:writable] Error: Could not evaluate structural parameter (or constant): n_r which gives dimensions of array: L_r[n_r]. Array dimensions must be known at compile time. Error: Error occurred while flattening model PowerSystems.Examples.AC3ph.Drives.ASM_ctrlAv Notification: Performance of FrontEnd: time 0.1106/0.6381, allocations: 38.15 MB / 0.6191 GB, free: 7.363 MB / 459.1 MB