Around 30 train carriages came off the tracks, which are thought to have been weakened by recent flooding in Iowa state.