Nonadiabatic quantum path analysis of the high-order harmonic generation in a highly ionized medium