or problem. Another chronic problem is unreliable rainfall, which produces drought or sudden floods; in 1995, the country's worst drought in 30 years forced Morocco to import grain and adversely affected the economy. Another drought occurred in 1997, and one in 1999–2000. Reduced incomes due to drought caused GDP to fall by 7.6% in 1995, by 2.3% in 1997, and by 1.5% in 1999. During the years between drought, good rains brought bumper crops to market. Good rainfall in 2001 led to a 5% GDP growth rate. Morocco suffers both from unemployment (9.6% in 2008), and a large external debt estimated at around $20 billion, or half of GDP in 2002.
Among the various free trade agreements that Morocco has ratified with its principal economic partners, are The Euro-Mediterranean free trade area agreement with the European Union with the objective of integrating the European Free Trade Association at the horizons of 2012; the Agadir Agreement, signed with Egypt, Jordan, and Tunisia, within the framework of the installation of the Greater Arab Free Trade Area; the US-Morocco Free Trade Agreement with United States which came into force on January 1, 2006, and lately the agreement of free exchange with Turkey.
Agriculture in Morocco employs about 40% of the nation's workforce and is the largest employer in the country. Barley, wheat, and other cereals are amongst the main products. On the Atlantic coast, where there are extensive plains, olives, citrus fruits, and grapes are grown.
Below is a table of the agricultural output of Morocco according to estimates of the UN Food & Agriculture Organisation, data is from 2009:
In 2008, about 56% of the electricity source of Morocco came from coal. However, as forecasts indicate that energy requirements in Morocco will rise 6% per year between 2012 and 2050, a new law passed encouraging Moroccans to look for ways to diversify the energy supply, including more renewable resources. The Moroccan government has launched a project to build a solar thermal energy power plant and is also in looking into the use of Natural Gas as a potential source of revenue for Morocco’s government.
Morocco has embarked upon the construction of large solar energy farms to lessen dependence on fossil fuels, and to eventually export electricity to Europe.
The railway network of Morocco consists of 1,907 kilometres (1,185 mi) 1,435 mm (4 ft 8 1⁄2 in) standard gauge and 1,003 kilometres (623 mi) electrified with 3 kV DC. There are connections to Algeria, and consecutively Tunisia, but since the 1990s the connections are closed. The Gibraltar Tunnel is a rail tunnel link proposed between Tangier, Morocco and Spain under the Strait of Gibraltar to be in operation in 2025.
There are plans for high-speed lines: Work by ONCF could begin in 2007 from Marrakech to Tangier in the north via Marrakesh to Agadir in the south, and from Casablanca on the Atlantic to Oujda on the Algerian border. If the plans are approved, the 1,500 kilometres (930 mi) of track may take until 2030 to complete at a cost of around 25 billion dirhams ($3.37 billion). Casablanca to Marrakesh could be cut to 1 hour and 20 minutes from over three hours, and from the capital Rabat to Tangier to 1 hour and 30 minutes from 4 hours and 30 minutes.
There are around 56,986 kilometres (35,409 mi) of roads (national, regional and provincial) in Morocco. In addition to 610.5 kilometres (379.3 mi) kilometre of highways.
The Tangier-Casablanca high-speed rail link marks the first stage of the ONCF’s high-speed rail master plan, pursuant to which over 1,500 kilometres (930 mi) of new railway lines will be built by 2035 The high speed train -TGV- will carry 8 million passengers per year. It will have a capacity of 500 passengers. the work in the High Speed Train project has started in September 2011 and the infrastructure works and railway equipment will end in 2014, and the HST will be operational in December 2015.
Education in Morocco is free and compulsory through primary school. The country's illiteracy rate has been stuck at around 50% for some years, with male litera