Accumulator in hydraulic system