A tremendous volley from Ed Tubau pulled one back for Spain, before a quick-fire five minutes saw Kiel Brown, Russell Ford
and Rob Hammond all add their names to the score sheet.
and Simon Orchard combined well for Australia's fourth goal.
Cutting in from a lung-bursting run down the left hand side, Ford
squared the ball to the onrushing Orchard at the top of the circle.
Despite being at full stretch, Orchard threw himself to return the pass to Ford, wrong footing the Spanish defence and leaving Ford with most of the goal at his mercy.
's close range goal with seven minutes remaining looked to have given the Kookaburras a way back into the game but John-John Dohmen took the sting out of any such resurgence with a neat deflection to make it 3-1 moments later.