Zaslat SMS: Smooth and nonsmooth high dimensional chaos and the melnikov-type methods