Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadModel(Buildings): time 3.774/3.774, allocations: 403.9 MB / 411 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.614e-05/2.621e-05, allocations: 4 kB / 0.4942 GB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5172/0.5173, allocations: 92.7 MB / 0.5847 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2952/0.8125, allocations: 190.4 MB / 0.7706 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.8129, allocations: 99.94 kB / 0.7707 GB, free: 3.621 MB / 0.6511 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/AC/ThreePhasesBalanced/Lines/Examples/ACSimpleGridMedium.mo:6:13-8:46:writable] Error: Type mismatch in binding commercialCable = {Buildings.Electrical.Transmission.MediumVoltageCables.Generic(Buildings.Electrical.Transmission.Types.Material.Al, 250.0, 298.15, 501.25, "3/0", 0.000344488, 0.011582, 0.028956, 0.0045100308, 0.2400149600049734)}, expected subtype of record Buildings.Electrical.Transmission.MediumVoltageCables.Generic enumeration(Cu, Al) material; Real(start = 0.0, quantity = "ElectricCurrent", unit = "A") Amp; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") T_ref; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") M; String(start = "") size; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") Rdc; Real(quantity = "Length", unit = "m") d; Real(quantity = "Length", unit = "m") D; Real(quantity = "Length", unit = "m") GMR; Real(quantity = "Length", unit = "m") GMD; end Buildings.Electrical.Transmission.MediumVoltageCables.Generic;, got type record Buildings.Electrical.Transmission.MediumVoltageCables.Generic enumeration(Cu, Al) material; Real(start = 0.0, quantity = "ElectricCurrent", unit = "A") Amp; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") T_ref; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") M; String(start = "") size; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") Rdc; Real(quantity = "Length", unit = "m") d; Real(quantity = "Length", unit = "m") D; Real(quantity = "Length", unit = "m") GMR; Real(quantity = "Length", unit = "m") GMD; end Buildings.Electrical.Transmission.MediumVoltageCables.Generic;[1]. Error: Error occurred while flattening model Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium Notification: Performance of FrontEnd: time 0.4842/1.297, allocations: 21.63 MB / 0.7918 GB, free: 179.1 MB / 0.6511 GB