Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Wind.WindTurbine_PSGR.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: "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Wind.WindTurbine_PSGR,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_Wind_WindTurbine_PSGR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002189/0.002189, allocations: 182.1 kB / 8.008 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 82.72 kB / 261.7 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.4636/0.4636, allocations: 37.99 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.068e-05, allocations: 4 kB / 409.9 MB, free: 35.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 56.33 MB / 466.3 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6275/0.7384, allocations: 143.4 MB / 0.5953 GB, free: 0.8711 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0008117/0.7393, allocations: 90.39 kB / 0.5954 GB, free: 0.8281 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/AC3ph/Machines.mo:2240:3-2240:48:writable] Error: Could not evaluate structural parameter (or constant): n_d which gives dimensions of array: L_rd[n_d]. Array dimensions must be known at compile time. Error: Error occurred while flattening model PowerSystems.Examples.Wind.WindTurbine_PSGR Notification: Performance of FrontEnd: time 0.186/0.9255, allocations: 32.47 MB / 0.6271 GB, free: 6.609 MB / 426.7 MB