if (links.getEvents().keySet().contains(event))
{
Value val = getValue(event).value;
if (val.deref() instanceof OperationValue)
{
OperationValue eventOp = (OperationValue) val;
if (eventOp.paramPatterns.size() == 0)
{
try
{
EventThread eThread = new EventThread(Thread.currentThread());
BasicSchedulableThread.add(eThread);
CPUResource.vCPU.register(eThread, 1000);
eventOp.eval(coSimLocation, new ValueList(), mainContext);
eThread.setState(RunState.COMPLETE);
BasicSchedulableThread.remove(eThread);
evaluated = true;
} catch (ValueException e)
{