AlHijjah 29, 1436, Oct 13, 2015, SPA -- For the second straight year, Roger Federer found himself in trouble in his opening match at the Shanghai Masters. This time, he couldn't pull through. The 17-time Grand Slam champion was broken late in the third set against Spanish qualifier Albert Ramos-Vinolas on Tuesday and lost 7-6 (4), 2-6, 6-3. Federer was in a similar situation last year against Leonardo Mayer, but it ended very differently. He saved five match points before finally prevailing, and going on to win the tournament. Federer started off slowly against the 70th-ranked Ramos-Vinolas, failing to convert two break points in the opening set and making a flurry of backhand errors to lose the tiebreaker. He captured the second set with ease, winning every point on his first serve, but Ramos-Vinolas got the only break in the third set and held on to close it out, AP reported. It was the Spaniard's first win against a top-10 player in 16 matches.