Free energies in the materials with fading memory and applications to PDEs. "WASCOM 2003"---12th Conference on Waves and Stability in Continuous Media