Development of a physical simulation of a real humanoid robot