Sweden 's long-successful economic formula of a capitalist system interlarded with substantial welfare elements was challenged in the 1990s by high unemployment and in 2000 - 2 and 2009 by the global economic downturns , but fiscal discipline over the past several years has allowed the country to weather economic vagaries .