Based on the elastic-plastic model with the gradient of the second order, we consider dynamics of a one-dimensional bar at the phase of weakening in accounting for nonlinearity of the sloping segment of the diagram. We obtain an exact solution of the nonlinear equation, which describes a strongly heterogeneous nonstationary structure of local region of deformation. This structure starts as an initially smooth disturbance and collapses then.