if (PRINTMODEL) {
System.out.println(model);
}
try {
if (!xmlUtils.saveXML(model.createDocument(), file)) {
fail("Error saving solved model to tempfile", null);
}
} catch (SAXException e) {
fail("XML parse error in tempfile", e);
} catch (Exception e) {