Defending champion Carlos Alcaraz dug in to avoid a shock loss against Emil Ruusuvuori and reach the third round of the Madrid Open, the Spaniard prevailing 2-6 6-4 6-2.