Repeat Loop Not Working

In reply to abhiram.b:

It would help to add two lines giving us a complete example.

module top;
  initial repeat(5.0) begin
      #1;
      $display("Wassup at %t",$realtime);
    end
endmodule

This gives me 5 lines on every simulator I tried.