Simulation of event histories based on nonlinear hazard rate