Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,fileNamePrefix="PowerSystems_latest_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.0009766/0.0009765, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.259/1.259, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.0008011/0.0008012, allocations: 89.81 kB / 270.8 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1598/0.1598, allocations: 38.07 MB / 357.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003376, allocations: 8 kB / 424.1 MB, free: 37.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2917, allocations: 56.32 MB / 480.4 MB, free: 9.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4137, allocations: 87.14 MB / 0.5542 GB, free: 15.29 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4141, allocations: 79.89 kB / 0.5543 GB, free: 15.21 MB / 394.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.0047/0.4188, allocations: 1.569 MB / 0.5559 GB, free: 13.64 MB / 394.7 MB