Hundreds of voters were standing in line for hours outside several polling stations, such as this one in the city of Qom, waiting to cast their votes.