From your log:
Code:
18:48:48.952: [obs-nvenc] get_encoded_packet: nv.nvEncLockBitstream(s, &lock) failed: 4 (NV_ENC_ERR_INVALID_DEVICE): Device passed to the API is invalid.
18:48:48.952: Error encoding with encoder 'simple_video_stream'
18:48:48.953: Device Remove/Reset! Rebuilding all assets...
18:48:48.965: [rtmp stream: 'simple_stream'] Encoder error, disconnecting
This "Device Remove/Reset!)" is a notice your graphics driver crashed and was reset. Afterwards, all kind of graphics operations are invalid and usually apps using GPU resources have to be restarted or the PC needs a reboot.
It's either a GPU driver or GPU hardware issue. If you reinstalled the most current driver and the issue persists, it's most certainly a hardware error. Revert overclocking, check overheating, check cabling and power supply. If it really persists, your GPU hardware or motherboard may be defective.