Hi sindhujabala
If you wish to test the Processor-In-The-Loop execution time with the dedicated Profiler Function Simulink Block then you don't have to use the FreeMASTER

Since PIL is a co-simulation between code that runs on Host PC and the code that runs on the actual HW, you could use the standard Simulink Scope to check the results - how much time the function needs to be executed.
All you have to do is:
1: add the Profiling function block in your PIL model

2: Configure the block to "Show Profile Output"

Then all you need to do in your harness test is to plot that PIL Profiler output.

For your particular model the result is shown below:

Your model contained some mistakes which i have corrected, check the attachement. If you want to learn more about PIL please check this video: Video Link : 7845