Australia are facing one of their heaviest home defeats after India declared with a 533-run lead and reduced the home side to 3-12 in the first Test in Perth.