@staticmethod
def __check_assembly_duplicates(assemblies):
    """ Load the model names from all assemblies into a list,
        then convert it to a set. With no duplicates, the elements
        in the set should be the same as the elements in the list.
        """
    all_models = []
    for assembly in assemblies:
        all_models.extend(assemblies[assembly])
    unique_models = set(all_models)
    if len(all_models) != len(unique_models):
        raise ValueError('Assemblies do not contain unique elements.')
