Dynamics of waves in one-dimensional electron systems: Density oscillations driven by population inversion