stop = System.currentTimeMillis();
if (document.getErrorCount() > 0)
{
print("Encountered the following errors while reading the SBML file:\n");
document.printErrors(System.out);
print("\nFurther consistency checking and validation aborted.\n");
System.exit(1);
}
else
{