enables data exchange at the end of simulation
Added comments
Rewrote the routines that store and convert the FFD data for Modelica
fixed bugs in surface thermal BC
solved the problem when modeilica stops earlier than FFD