In a large, heavy pot, heat butter and oil over medium-low heat. Add onions, cover and cook, stirring occasionally, until softened and translucent, about 20 minutes. Increase heat to medium-high and add sugar and salt; sauté, scraping up any brown bits from the bottom of the pot, until onions are softened and a deep, rich brown, about 15 minutes.