In order to do a magnetostatic analysis, you have to combine all of the bodies into one part. Go to Geometry, at the bottom of the left pane, expand the parts list, select all of the parts, right click and select "Form New Part". Then do an Update to sync the changes, go to Model, expand...