The doctor had been thinking about the message for a while now. Then he had started to make out it's origin. It was coming through the rift. He guessed that the human version of him had managed to find a way to send it through the rift to warn them or maybe even get help.
As the rift was going right through Cardiff that was his next stop. Torchwood probably picked up the message as well.
He landed the TARDIS right inside of Torchwood and then stepped out.
His eyes immediately took in his surroundings.
"Interesting", he muttered before his eyes fixed on the people in the room. A smile then spread on hs lips. He was worried about Rose, but he was still happy to see Jack and Martha again.