Transient behaviour of frequency doubling mode-locker. Numerical analysis