Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_cpp_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",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.001614/0.001619, allocations: 183.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.088/2.088, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 86.83 kB / 270.2 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2529/0.2529, allocations: 38.06 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004748/0.000475, allocations: 15.98 kB / 422.8 MB, free: 26.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1199, allocations: 56.33 MB / 479.1 MB, free: 1.945 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4972/0.6172, allocations: 87.14 MB / 0.553 GB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.6175, allocations: 84.08 kB / 0.5531 GB, free: 10.97 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Examples/AC3ph/Precalculation.mo:1142:3-1142:79:writable] Error: No matching function found for z_matrix(0, x_q, xsig_s, r_s, {}, {}, {}) of type .PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.z_matrix(Integer n, Real(quantity = "Reactance", unit = "Ohm/Ohm") x, Real(quantity = "Reactance", unit = "Ohm/Ohm") xsig_s, Real(quantity = "Resistance", unit = "Ohm/(V.V/VA)", min = 0.0) r_s, Integer[0] xm2_n, Real(quantity = "Reactance", unit = "Ohm/Ohm")[0] xsig_r, Real(quantity = "Resistance", unit = "Ohm/(V.V/VA)", min = 0.0)[0] r_r) => (Real(unit = "1", quantity = "Resistance", min = 0.0)[1 + n] zr, Real(unit = "1", quantity = "Reactance")[1 + n, 1 + n] zx) in component candidates are .PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.z_matrix(Integer n, Real(unit = "1", quantity = "Reactance") x, Real(unit = "1", quantity = "Reactance") xsig_s, Real(unit = "1", quantity = "Resistance", min = 0.0) r_s, Real(unit = "1", quantity = "Reactance")[-1 + n] xm2_n, Real(unit = "1", quantity = "Reactance")[n] xsig_r, Real(unit = "1", quantity = "Resistance", min = 0.0)[n] r_r) => (Real(unit = "1", quantity = "Resistance", min = 0.0)[1 + n] zr, Real(unit = "1", quantity = "Reactance")[1 + n, 1 + n] zx) Error: Error occurred while flattening model PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 Notification: Performance of FrontEnd: time 0.006339/0.6239, allocations: 1.568 MB / 0.5546 GB, free: 9.648 MB / 362.7 MB