Start by peeling your onions and slicing them into thin, even half-moons. Consistency is key here so that they all cook at the same rate. Set them aside while you prep your pan.
In a large skillet or Dutch oven, melt the butter and olive oil over medium heat. Add the sliced onions and salt. Stir well to coat the onions in the fat. The salt will help draw out the moisture, aiding the softening process.
Reduce the heat to medium-low. Cook the onions for about 40 to 45 minutes, stirring every few minutes. If the onions start to stick or look dry, add a splash of water. They are done when they are a deep, golden mahogany color and have a jam-like consistency.
While the onions are finishing, bring a large pot of salted water to a boil. Cook the pasta according to the package directions until it is al dente. Before draining, carefully scoop out at least one cup of the starchy pasta water and set it aside.
Add the minced garlic and fresh thyme to the skillet with the caramelized onions. Cook for about 2 minutes until fragrant. Stir in the balsamic vinegar, scraping up any browned bits from the bottom of the pan.
Add the cooked pasta directly into the skillet with the onions. Pour in half of the reserved pasta water and the Parmesan cheese. Toss vigorously over low heat, adding more pasta water as needed until a glossy, creamy sauce forms and coats the pasta.
Taste the pasta and add more salt or black pepper if needed. The sweetness of the onions should be balanced by the salt and the tang of the vinegar.