clock_model_to_xml_treelogger function

Convert a clock model to the XML of the TreeLogger