The uppaal server execute two times 'processXMLSystem3': Loading the new model and switch to simulation tab.
Wei, this "loading twice" is done intentionally, because compiler needs two passes in order to initialize templates. Fix is going to be complicated.