GetVariablesStruct vars = new GetVariablesStruct();
try
{
for (Entry<String, ValueContents> p : SimulationManager.getInstance().getInstanceVariables(data).entrySet())
{
vars.variables.add(new GetVariablesStructvariablesStruct(p.getKey(), p.getValue().value, p.getValue().size));
}
} catch (RemoteSimulationException e)
{
ErrorLog.log(e);
throw e;