President Barack Obama arrived in Spain Saturday for an 18-hour stop, the first U.S. president to visit in 15 years, before returning home to pressing problems in his own country.