In reply to chr_sue:
I added display message as you can see…
there is a $display after the wait_for_grant which is not displayed, and I know for sure thar the simulation get to the wait_for_grant. That is why I wrote that it seems that the sequence get stuck in the wait_for_grant task