GMD SD40-2F

The GMD SD40-2F was a 3,000 hp (2,250 kW) C-C diesel locomotive built by General Motors Diesel. It was fundamentally an SD40-2 in a cowl unit full-width body. A total of 25 units were built solely for the Canadian Pacific Railway. They were delivered in 1988 and 1989, after the end of production for the regular SD40-2. The engines were CP's only cowl units, and have been nicknamed "red barns" by railfans.

The locomotives are numbered 9000-9024. These were the only new locomotives to be delivered to the CPR in the "Action Red" paint scheme, a variation upon the "Multimark" paint scheme lacking the black-and-white "Pac-Man" emblem. Two engines, numbers 9000 and 9022, have been repainted in the "Dual Flags" paint scheme. They were delivered without the porthole in the nose door; this was retrofitted to most units in the early 90s. All 25 units remain in service as of 2008.

On June 9, 2009, SD40-2F's 9000, 9001 and 9018 were involved in a derailment is Oshawa, Ontario, on CP's Belleville Sub. Though none appear to have been badly damaged (one involved in a minor fuel fire), all three remain out of service as of December, 2009, and will likely remain that way until traffic levels improve. The F59PH was based on the design, but is shorter in length, uses the EMD 710 as its prime mover and a separate HEP genset, and has B-B trucks.