diff --git a/src/common/io.py b/src/common/io.py index c4e3ca5d..3da31f15 100644 --- a/src/common/io.py +++ b/src/common/io.py @@ -2230,10 +2230,10 @@ def simulation_start(self): vref = dtype[0] if dtype[1] == fmi.FMI_REAL: str_text = str_text + ( - " %.14E" % (self.model.get_real([vref]))) + " %.14E" % (self.model.get_real([vref])[0])) elif dtype[1] == fmi.FMI_INTEGER or dtype[1] == fmi.FMI_ENUMERATION: str_text = str_text + ( - " %.14E" % (self.model.get_integer([vref]))) + " %.14E" % (self.model.get_integer([vref])[0])) elif dtype[1] == fmi.FMI_BOOLEAN: str_text = str_text + ( " %.14E" % (float(