score:8
We got our duplicate passport from Indian Embassy in Madrid in 8 days. They were extremely helpful.
We applied for duplicate passport and gave these documents. One little hassle was we had to come to madrid from barcelona to apply.
We also went to Hungarian consulate in Barcelona - they issued official letter stating that my wife lost her residence permit and she can enter Hungary until the validity of her residence permit. It took just 2 days for them to process.
I hope this helps other indians, who lost their passports and visas in Spain.