code: def load_model(ecore_model_path):
      
      rset = pyecore.resources.ResourceSet()
      uri_implementation = select_uri_implementation(ecore_model_path)
      resource = rset.get_resource(uri_implementation(ecore_model_path))
      return resource.contents[0]
docs: Load a single Ecore model and return the root package.