Reduced-order state-space models of structures with imposed displacements and accelerations