The Estimation of Foundation Models of Flexible Machines