An Artificial Intelligence-Based Nonlinear Solver for Hydrocarbon Reservoir Simulations