Hartley will look to end this year's World Endurance Championship on a high with a winning result for Porsche in tomorrow morning's Six Hours of Bahrain event.
Hamilton, who won his fourth Formula One championship two weeks ago in Mexico, walked away from the car without injury.
Hartley's second place finish in the penultimate round is enough to wrap up the driver’s championship.
SVG has had impressive results, including last year's title, since joining Red Bull Racing.
After surging six places to 11th in the race, the Kiwi driver was forced from the track due to yet another engine problem.
The Kiwi driver had issues in the first session but moved up five places with a strong second outing.