Please post the contents of the fml-client-latest.log
file inside the logs
folder inside your .minecraft
folder to some pastebin site and link to the post here.
Note that this log will only contain information on the last time you started Minecraft, not any previous runs.
Also note that the latest Optifine version has some issues: https://www.replaymod.com/forum/thread/2118