Returns the current called xcos block during the simulation
blk = curblock()
blk : the current block number in the compiled structure.