Notification: Performance of loadModel(PowerSystems): time 1.758/1.758, allocations: 232.6 MB / 238.5 MB, free: 440 kB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1568/1.915, allocations: 55.02 MB / 293.5 MB, free: 11.35 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07088/1.986, allocations: 53.08 MB / 346.6 MB, free: 6.156 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2914/2.277, allocations: 126.7 MB / 473.3 MB, free: 11.65 MB / 408.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/2.278, allocations: 96.08 kB / 473.4 MB, free: 11.55 MB / 408.6 MB [PowerSystems 0.6.0/Control/Modulation.mo:17:7-17:46:writable] Error: Variable asm_ctrl.inverter.modulator.m not found in scope PowerSystems.AC3ph.Drives.ASM_ctrl$asm_ctrl.Inverter$asm_ctrl$inverter.Modulator.$for loop scope$. [PowerSystems 0.6.0/Control/Modulation.mo:20:7-20:46:writable] Error: Variable asm_ctrl.inverter.modulator.m not found in scope PowerSystems.AC3ph.Drives.ASM_ctrl$asm_ctrl.Inverter$asm_ctrl$inverter.Modulator.$for loop scope$. [PowerSystems 0.6.0/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_ctrl Error: Internal error SimCode: The model PowerSystems.Examples.AC3ph.Drives.ASM_ctrl could not be translated to FMU