title: Follow up question: Modelica total time calculation of simulation and equation initialization
body: <p>I am writing this question related to <a href="https://stackoverflow.com/questions/61375492/modelica-total-time-calculation-of-simulation-and-equation-initialization?noredirect=1#comment108940492_61375492">this</a>. In his reply, Marco gave me an excellent answer but, unfortunately, I am new with OpenModelica so I would need some further help.</p>
  
  <p>I am actually using OpenModelica and not Dymola so unfortunately I have to build the function that does it for me and I am very new with OpenModelica language.</p>
  
  <p>So far, I have a model that simulates the physical behavior based on a DAEs. Now, I am trying to build what you suggest here:</p>
  
  <p><em>With get time() you can build a function that: reads the system time as t_start translates the model and simulate for 0 seconds reads the system time again and as t_stop computes the difference between t_start and t_stop.</em></p>
  
  <p>Could you please, give me more details: Which command can I use to read the system at time t_start and to simulate it for 0 seconds? To do this for both t_start and t_stop do I need to different function?</p>
  
  <p>Once I have done this, do I have to call the function (or functions) inside the OpenModelica Model of which I want to know its time?</p>
  
  <p>Thank you so much again for your precious help!</p>
  
  <p>Very best regards, Gabriele</p>