Program: 75894
Project: 75894
Buggy source:
/** 
 * Construct the composite actor with a name and a container. This constructor creates the ports, parameters, and the icon.
 * @param container The container.
 * @param name The name.
 * @exception NameDuplicationException If another entity already hadthis name.
 * @exception IllegalActionException If there was an internal problem.
 */
public LinearStateSpace(CompositeEntity container,String name) throws NameDuplicationException, IllegalActionException {
  super(container,name);
  input=new TypedIOPort(this,"String_Node_Str",true,false);
  input.setMultiport(true);
  output=new TypedIOPort(this,"String_Node_Str",false,true);
  output.setMultiport(true);
  _opaque=true;
  double[][] one={{1.0}};
  double[][] zero={{0.0}};
  A=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(one));
  A.setTypeEquals(BaseType.DOUBLE_MATRIX);
  B=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(one));
  B.setTypeEquals(BaseType.DOUBLE_MATRIX);
  C=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(one));
  C.setTypeEquals(BaseType.DOUBLE_MATRIX);
  D=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(zero));
  D.setTypeEquals(BaseType.DOUBLE_MATRIX);
  initialStates=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(zero));
  initialStates.setTypeEquals(BaseType.DOUBLE_MATRIX);
  getMoMLInfo().className="String_Node_Str";
  _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");
}

Fixed version (ground truth):
/** 
 * Construct the composite actor with a name and a container. This constructor creates the ports, parameters, and the icon.
 * @param container The container.
 * @param name The name.
 * @exception NameDuplicationException If another entity already hadthis name.
 * @exception IllegalActionException If there was an internal problem.
 */
public LinearStateSpace(CompositeEntity container,String name) throws NameDuplicationException, IllegalActionException {
  super(container,name);
  input=new TypedIOPort(this,"String_Node_Str",true,false);
  input.setMultiport(true);
  output=new TypedIOPort(this,"String_Node_Str",false,true);
  output.setMultiport(true);
  _opaque=true;
  double[][] one={{1.0}};
  double[][] zero={{0.0}};
  A=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(one));
  A.setTypeEquals(BaseType.DOUBLE_MATRIX);
  B=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(one));
  B.setTypeEquals(BaseType.DOUBLE_MATRIX);
  C=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(one));
  C.setTypeEquals(BaseType.DOUBLE_MATRIX);
  D=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(zero));
  D.setTypeEquals(BaseType.DOUBLE_MATRIX);
  initialStates=new Parameter(this,"String_Node_Str",new DoubleMatrixToken(zero));
  initialStates.setTypeEquals(BaseType.DOUBLE_MATRIX);
  getMoMLInfo().className="String_Node_Str";
  _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");
}