Parallel general-purpose reservoir simulation with coupled reservoir models and multisegment wells