if (!_waitForState(processor, Controller.Realized)) {
throw new IllegalActionException("Failed to realize processor");
}
DataSource dataSource = processor.getDataOutput();
if (dataSource == null) {
throw new IllegalActionException("Processor does not have "
+ "output DataSource");
}