include "primitives.alh"
include "io.alh"
include "utils.alh"

Boolean function main(model : Element):
	Element tasknames
	Element root
	root = read_root()
	tasknames = set_copy(root[get_taskname()]["globals"]["pm_tasks"]["value"]["simulate"])
	while (set_len(tasknames) > 0):
		give_input_to_other(set_pop(tasknames), "__EXIT__")
	return True!
