Australia conceded three unanswered goals in the Olympic warm-up match after holding a 1-0 lead at half time as Brazil took advantage of the send off of Katrina Gorry just after the break.

Gorry was marched for her second yellow card of the match after 50 minutes and the visitors were forced to do it the hard way as Brazil capitalised on the extra space.

"When the game was 11 v 11, it was certainly more in our favour than it was for them," Stajcic said.

"Playing 40 minutes with 10 players against them just made it a little bit tough but they are all things you have to learn to deal with.

"Certainly the Brazilian ref didn't mind the odd 50-50 going their way a little bit but again you have got to deal with these things when you play in a foreign country with a foreign ref."

It was Gorry pulling the strings when the Matildas took the lead after 35 minutes.

Not the result we wanted tonight, none the less good preparation for the big stage in 14 days time #matildas #roadtorio — Kyah Simon (@KyahSimon) July 23, 2016

The midfielder's well timed through ball found Larissa Crummer in space and the Brisbane Roar W-League striker took full advantage as she hammered the ball into the back of the net.

But it all turned pear shaped for Australia after Gorry's send off with Debinha finishing from close range to level proceedings in the 54th minute.

It took a contender for FIFA goal of the year from Raquel for Brazil to take the lead as the striker lobbed Australia shot stopper Lydia Williams from outside the box with one touch after an incredible long ball from her centre-back.

Darlene wrapped up the result with her late goal but by this point Stajcic had already made a swathe of changes to the Matildas line-up.

Stajcic praised his players' composure amid a string of questionable calls at the Estadio Presidente Vargas.

"No-one likes to lose," he said.

"And we will look at things we didn't do so well and there are a couple of things we need to tighten up on.

"But the things we could control, which was our play and our defending, was quite good.

"You can't control the decisions of the referee sometimes. That made it a little bit of a challenge.

"They had to catch us on the break to get a couple of goals against us."

Australia's Olympic campaign opens against Canada in Sao Paulo on 3 August, two days before the Games' opening ceremony in Rio, before group games against Germany (7 August) and Zimbabwe (10 August).