Start by heating the butter and olive oil in a large stockpot over medium heat. Add the sliced onions and cook, This should take about 10 minutes. Sprinkle the onions with sugar and continue to cook, until they are deeply caramelized, which will take another 30-40 minutes.