Simulation study of the self-reversal process in the reversed-field pinch based on a non-linearly driven reconnection model