I am using a KUKA Robot within KUKA.Sim 4.3 software (which runs an older version of VisualComponents, not sure how to check which version exactly)
I can’t run your sim file as it is but I modified the code to use app.startSimulation() instead but the robot still does not move. The Play button of the simulation changes to Pause but that’s about it.
from vcCommand import *
from vcScript import *
from vcApplication import *
from kuka import *
app = getApplication()
def first_state():
app.resetSimulation()
print "Simulation reset!"
app.startSimulation()
print "Simulation completed!"
addState(first_state)