Nonlinear dynamics and complexity in the generalized Lorenz system