Australia withstood a strong South African side to run out winners in the opening game in Marcoussis.