Simulation of the passively mode-locked laser with a SESAM