Peel, halve, and thinly slice all 6 onions into half-moons approximately 3mm thick.
Melt butter and olive oil in a large Dutch oven over medium heat. Add onions, 1 tsp salt, and 1 tsp sugar. Stir to coat evenly in the fat.
Reduce heat to medium-low and cook the onions for 50 to 60 minutes, stirring every 8 to 10 minutes, until deeply amber-brown throughout and reduced by about two-thirds in volume.
Add minced garlic and stir constantly for 2 minutes until fragrant. Sprinkle flour over the onions, stir to combine, and cook 2 more minutes until the raw flour smell is gone.
Pour in the grape juice and scrape up all browned bits from the bottom of the pot. Cook over medium heat for 2 to 3 minutes until reduced by half.
Add beef broth, thyme sprigs, bay leaves, and Worcestershire sauce. Bring to a simmer, then reduce to low and cook uncovered for 20 minutes. Remove thyme and bay leaves. Taste and season with salt and pepper.
Preheat oven to 190°C (375°F). Brush baguette slices with oil or butter and bake on a sheet for 8 to 10 minutes, flipping once, until crisp and golden on both sides.
Switch oven to broil with rack 15cm from the element. Ladle soup into oven-safe bowls on a baking sheet. Place 2 baguette slices on each and cover generously with grated Gruyère.
Broil 3 to 5 minutes, watching continuously, until cheese is melted, bubbling, and golden-brown at the edges. Serve immediately.