Fire crews in Spain are continuing to tackle a major wildfire north of Madrid that has burned around 13,000 hectares (32,000 acres) and prompted the evacuation of about 700 residents.