Advanced simulation of resistance switching in Si-rich silica RRAM devices