Regular and chaotic dynamics of non-spherical bodies. Zeldovich’s pancakes and emission of very long gravitational waves