while ((line = reader.readLine()) != null) {
builder.append(line);
builder.append(System.getProperty("line.separator"));
}
ISymbolicCAModel model = new SymbolicCAModel();
model.setFromDocument(new CARulesAntlrDocument(builder.toString()));
return model;
} catch (IOException e) {
SimSystem.report(e);
} finally {
BasicUtilities.close(reader);