renewable energy facilities in the consolidated statement of operations for the year ended December 31, 2017. The Company has retained an 11.1 MW solar asset in the U.K., which is not held for sale.
Residential Portfolio Sale
The Company also began exploring a sale of substantially all of its portfolio of residential rooftop solar assets located in the United States (11.4 MW of assets as described below) through a strategic sales process in 2016, and it was determined that these assets met the criteria to be classified as held for sale during the fourth quarter of 2016. As a result, the Company classified the related assets and liabilities as held for sale as of December 31, 2016 (refer to the table below) and measured each at the lower of carrying value or fair value less costs to sell. The Company's analysis indicated that the carrying value of the assets exceeded the fair value less costs to sell, and thus an impairment charge of $15.7 million was recognized within impairment of renewable energy facilities in the consolidated statement of operations for the year ended December 31, 2016. The Company also recorded a $3.3 million charge within impairment of renewable energy facilities for the year ended December 31, 2016 due to the decision to abandon certain residential construction in progress assets that were not completed by SunEdison as a result of the SunEdison Bankruptcy.
In the first half of 2017, the Company closed on the sale of 100% of the membership interests of Enfinity Colorado DHA 1, LLC, a Colorado limited liability company that owns and operates 2.5 MW of solar installations situated on the roof of public housing units located in Colorado and owned by the Denver Housing Authority, and 100% of the membership interests of TerraForm Resi Solar Manager, LLC, a subsidiary of the Company that owns and operates 8.9 MW of rooftop solar installations, to Greenbacker Residential Solar II, LLC. The Company received proceeds of $7.1 million during 2017 as a result of the sale of these companies and also disposed of $0.6 million of cash and cash equivalents and $0.8 million of restricted cash. There was no additional loss recognized during 2017 as a result of these sales.
The Company sold its remaining 0.3 MW of residential assets (that were not classified as held for sale as of December 31, 2016) during the third quarter of 2017. These assets did not meet the criteria for held for sale classification in the second quarter of 2017 but the Company determined that certain impairment indicators were present and as a result recognized an impairment charge of $1.4 million during the second quarter which is reflected within impairment of renewable energy facilities in the consolidated statement of operations for the year ended December 31, 2017. There was no additional loss recognized during the second half of 2017 as a result of the sale.