Application of the general method of modal synthesis for systems with time delays