Enabling profiling for collocation and newton implicit solver