Simtime usage in simulation

Hi, 

I am trying to use variable 'simtime' in a parmetric diagam for genrating a signal like sin(simtime). 

But when I model activity diagram for the same block with classifier behavior, the simtime variable doesn't work.

Thanks in advance.   

 

Regards,

Amit K,