Add 2 cups rinsed and drained canned black beans to a bowl, then use a potato masher to mash them slightly, leaving some small chunks.
Add 2 tablespoons olive oil, 1 cup finely chopped yellow onion, 1 cup finely chopped celery, 1 cup finely chopped carrots, 1 tablespoon roughly chopped garlic, 1/4 teaspoon dried oregano, 1/4 teaspoon dried thyme, 1/4 teaspoon dried rosemary, 1/4 teaspoon salt, and 1/8 teaspoon black pepper to a large pot on the stove over low-medium heat. Cook for 8-10 minutes or until the onions are translucent and the vegetables have softened slightly, stirring frequently.
Reduce the heat to low, add 2 tablespoons tomato paste, then cook for 1-2 minutes, stirring frequently.
Add 1 tablespoon balsamic vinegar, then cook for 1-2 minutes, stirring frequently.
Add the mashed black beans, 2 cups vegetable broth, 2 3/4 cups tomato passata, and 2 bay leaves, then simmer uncovered on low heat for 60-70 minutes, stirring occasionally.
Remove the bay leaves and season with salt to taste, if needed. The amount required will vary depending on the sodium content of your vegetable broth and whether your beans are salted.
Serve with cooked pasta and a sprinkle of nutritional yeast or vegan Parmesan cheese, if desired (this recipe makes enough sauce for about 6 servings of pasta).