} else if (id.equals(LENGTH)) {
u.setKind(Kind.METRE);
} else if (id.equals(TIME)) {
u.setKind(Kind.SECOND);
} else {
Kind kind = null;
try {
kind = Kind.valueOf(id.toUpperCase());
} catch (IllegalArgumentException exc) {
logger.warn(MessageFormat.format(
"No such unit kind ''{0}'' in SBML Level {1,number,integer} Version {2,number,integer}",