Physical modeling of Flexible Manufacturing Systems