XML 28 R6.htm IDEA: XBRL DOCUMENT v3.20.2
Condensed Consolidated Statements of Cash Flows (Unaudited) - USD ($)
6 Months Ended
Jun. 30, 2020
Jun. 30, 2019
Cash flows from operating activities:    
Net income (loss) $ (129,620,000) $ (195,678,000)
Adjustments to reconcile net loss to net cash provided by (used in) operating activities:    
Depreciation and amortization 25,852,000 37,034,000
Write-off of property, plant and equipment, net 0 2,704,000
Impairment of equity method investment 4,236,000 0
Write-off of PPA II and PPA IIIb decommissioned assets 0 25,613,000
Debt make-whole expense 0 5,934,000
Revaluation of derivative contracts (72,000) 1,636,000
Stock-based compensation 41,650,000 119,186,000
Loss on long-term REC purchase contract 2,000 60,000
Loss on extinguishment of debt 14,098,000 0
Amortization of debt issuance and premium cost, net (470,000) 11,255,000
Changes in operating assets and liabilities:    
Accounts receivable (11,787,000) 49,741,000
Inventories (3,532,000) 22,197,000
Deferred cost of revenue (9,995,000) (38,793,000)
Customer financing receivable and other 2,490,000 2,713,000
Prepaid expenses and other current assets 7,314,000 10,227,000
Other long-term assets (3,574,000) (272,000)
Accounts payable 8,831,000 (5,461,000)
Accrued warranty (159,000) (6,696,000)
Accrued expenses and other current liabilities 13,665,000 5,581,000
Deferred revenue and customer deposits 2,907,000 51,913,000
Other long-term liabilities (2,071,000) 4,722,000
Net cash provided by (used in) operating activities (40,235,000) 103,616,000
Cash flows from investing activities:    
Purchase of property, plant and equipment (19,560,000) (23,619,000)
Payments for acquisition of intangible assets 0 (970,000)
Proceeds from maturity of marketable securities 0 104,500,000
Net cash provided by (used in) investing activities (19,560,000) 79,911,000
Cash flows from financing activities:    
Proceeds from issuance of debt 70,000,000 0
Proceeds from issuance of debt to related parties 30,000,000 0
Repayment of debt (82,248,000) (83,997,000)
Repayment of debt to related parties (2,105,000) (1,220,000)
Debt make-whole payment 0 (5,934,000)
Debt issuance costs (3,371,000) 0
Proceeds from financing obligations 0 20,333,000
Repayment of financing obligations (5,111,000) (4,006,000)
Payments to noncontrolling and redeemable noncontrolling interests 0 (18,690,000)
Distributions to noncontrolling and redeemable noncontrolling interests (5,815,000) (7,753,000)
Proceeds from issuance of common stock 5,186,000 8,321,000
Net cash provided by (used in) financing activities 6,536,000 (92,946,000)
Net increase (decrease) in cash, cash equivalents, and restricted cash (53,259,000) 90,581,000
Beginning of period 377,388,000 280,485,000
End of period 324,129,000 371,066,000
Supplemental disclosure of cash flow information:    
Cash paid during the period for interest 34,487,000 35,702,000
Cash paid during the period for taxes 224,000 497,000
Non-cash investing and financing activities:    
Liabilities recorded for property, plant and equipment 494,000 4,662,000
Liabilities recorded for noncontrolling and redeemable noncontrolling interest 0 36,994,000
Equity investment in PPA II assets 0 27,809,000
Accrued distributions to Equity Investors 2,000 566,000
Accrued interest for notes 0 888,000
Accrued debt issuance costs 1,220,000  
Conversion of notes 41,130,000 $ 0
Adjustment of embedded derivative related to debt extinguishment $ 24,071,000