Program: 72757
Project: 72757
Buggy source:
/** 
 * Initialize the class. 
 */
private void _init() throws IllegalActionException, NameDuplicationException {
  particleOutput=new TypedIOPort(this,"String_Node_Str",false,true);
  particleOutput.setTypeEquals(RecordType.EMPTY_RECORD);
  StringToken[] empty=new StringToken[1];
  stateVariableNames=new Parameter(this,"String_Node_Str");
  empty[0]=new StringToken("String_Node_Str");
  stateVariableNames.setToken(new ArrayToken(BaseType.STRING,empty));
  bootstrap=new Parameter(this,"String_Node_Str");
  bootstrap.setTypeEquals(BaseType.BOOLEAN);
  bootstrap.setExpression("String_Node_Str");
  measurementCovariance=new Parameter(this,"String_Node_Str");
  measurementCovariance.setExpression("String_Node_Str");
  particleCount=new Parameter(this,"String_Node_Str");
  particleCount.setExpression("String_Node_Str");
  Nparticles=1000;
  processNoise=new Parameter(this,"String_Node_Str");
  processNoise.setExpression("String_Node_Str");
  prior=new Parameter(this,"String_Node_Str");
  prior.setExpression("String_Node_Str");
  resetOnEachRun=new SharedParameter(this,"String_Node_Str",RandomSource.class,"String_Node_Str");
  resetOnEachRun.setTypeEquals(BaseType.BOOLEAN);
  seed=new SharedParameter(this,"String_Node_Str",RandomSource.class,"String_Node_Str");
  seed.setTypeEquals(BaseType.LONG);
  t=new Parameter(this,"String_Node_Str");
  t.setTypeEquals(BaseType.DOUBLE);
  t.setVisibility(Settable.EXPERT);
  t.setExpression("String_Node_Str");
  _measurementParameters=new HashMap<String,Parameter>();
  _measurementValues=new HashMap<String,Token>();
  _firstIteration=true;
  particles=new Particle[Nparticles];
  _tokenMap=new HashMap<String,Token>();
  _parseTreeEvaluator=new ParseTreeEvaluator();
  _scope=new VariableScope();
  _createRandomGenerator();
  new DEDirector(this,"String_Node_Str").setPersistent(false);
  _attachText("String_Node_Str","String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
}

Fixed version (ground truth):
/** 
 * Initialize the class. 
 */
private void _init() throws IllegalActionException, NameDuplicationException {
  StringToken[] empty=new StringToken[1];
  stateVariableNames=new Parameter(this,"String_Node_Str");
  empty[0]=new StringToken("String_Node_Str");
  stateVariableNames.setToken(new ArrayToken(BaseType.STRING,empty));
  bootstrap=new Parameter(this,"String_Node_Str");
  bootstrap.setTypeEquals(BaseType.BOOLEAN);
  bootstrap.setExpression("String_Node_Str");
  particleCount=new Parameter(this,"String_Node_Str");
  particleCount.setExpression("String_Node_Str");
  Nparticles=1000;
  processNoise=new Parameter(this,"String_Node_Str");
  processNoise.setExpression("String_Node_Str");
  particleOutput=new TypedIOPort(this,"String_Node_Str",false,true);
  particleOutput.setTypeEquals(RecordType.EMPTY_RECORD);
  prior=new Parameter(this,"String_Node_Str");
  prior.setExpression("String_Node_Str");
  t=new Parameter(this,"String_Node_Str");
  t.setTypeEquals(BaseType.DOUBLE);
  t.setVisibility(Settable.EXPERT);
  t.setExpression("String_Node_Str");
  measurementCovariance=new Parameter(this,"String_Node_Str");
  measurementCovariance.setExpression("String_Node_Str");
  _measurementParameters=new HashMap<String,Parameter>();
  _measurementValues=new HashMap<String,Token>();
  _firstIteration=true;
  particles=new Particle[Nparticles];
  _tokenMap=new HashMap<String,Token>();
  _random=new Random(0);
  _parseTreeEvaluator=new ParseTreeEvaluator();
  _scope=new VariableScope();
  new DEDirector(this,"String_Node_Str").setPersistent(false);
  _attachText("String_Node_Str","String_Node_Str" + "String_Node_Str" + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str");
}