This is not an inverting op-amp, it is a comparator with a massive dead band.
For an op-amp to work linearly, the feedback must be to the - input.
If you turn the op-amp upside down, then you will get an inverting amp with a virtual ground at the - terminal.
5V in through 10k = 500uA...