Not enough memory to read .mat result file into Python
You can reduce the size of the simulation result file by using variable selections in Dymola. That will restrict the output to states, parameters, and the variables that match your selection criteria.
The new Dymola 2017 FD01 has a user interface for defining variable selections.
I have been having some issues trying to open a simulation result output file (.mat) in Python. Upon loading the file I am faced with the following error:

ValueError: Not enough bytes to read matrix 'description'; is this a
  badly-formed file? Consider listing matrices with whosmat and
  loading named matrices with variable_names kwarg to loadmat

Has anyone been successful in rectifying this error? I have heard there is a script DyMat which can manage mat files in Python but haven't had any luck with it so far.
Any suggestions would be greatly appreciated.