Automatic Modeling and Simulation of Networked Components