}
//check if parent_category exists
if (strcmp(parent_category, "0") && !xbt_dict_get_or_null (created_categories, parent_category)){
THROW1 (tracing_error, TRACE_ERROR_CATEGORY_NOT_DEFINED, "Category (used as parent) %s is not created", parent_category);
}
//check if parent_category exists
if (strcmp(parent_category, "0") && !xbt_dict_get_or_null (created_categories, parent_category)){
THROW1 (tracing_error, TRACE_ERROR_CATEGORY_NOT_DEFINED, "Category (used as parent) %s is not created", parent_category);