Automatic Partitioning of Stiff Systems and Exploiting the Resulting Structure