On the wave motion and stability of dynamic systems with imperfect boundaries