Hey Malte, thank you for your quick reply. 
Let me try to elaborate my questions
Needs["WSMLink`"]     
Import["C:\\Dev\\OpenModelica\\Examples\\BouncingBall.mo", {"ModelicaModel"}]
M = WSMSimulate["BouncingBall", {0, 10}]
From Mathemathica  I used the above API to simulate a Modelica model. Then, the simulation result files are generated and stored to the path ../tmp/. Some files generated during the simulation are attached below.
After the simulation is done, I want to get the name of the generated files such as the result file(.mat). For example for the above model the result file(.mat) is named  12112BouncingBall_1.
Is it possible to get this name using WSMLink from  WSMSimulationData and/or WSMPlot  object?  
or Any possible ways to change the result file name  during  the simulation ? This can be illustrated as follows
WSMSimulate["BouncingBall", {0, 10}, resultfilename = BouncingBall.mat]
Something like it where I can choose the result file name to be BouncingBall.mat instead of the default name used by Wolfram i.e 12112BouncingBall_1 for the above model.
Anything that I could be able to know the name of the result file , or renaming the result file or choose the result file name  using WSMLink  is fine for me.
				
					
				
				
					
					
						
							 Attachments:
							Attachments: