The economy took a hit from the global recession and real GDP contracted by 3.5 % in 2009 .